www: 80bb148b: Remove the Google Analytics goal trackin...

markdoliner at pidgin.im markdoliner at pidgin.im
Mon Mar 19 00:56:22 EDT 2012


----------------------------------------------------------------------
Revision: 80bb148b5fcd0ce40c5248089c81db616587edba
Parent:   ba3e8606a008a92c9c2dd05d6cfaf30e1667190a
Author:   markdoliner at pidgin.im
Date:     03/19/12 00:55:03
Branch:   im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/80bb148b5fcd0ce40c5248089c81db616587edba

Changelog: 

Remove the Google Analytics goal tracking stuff.  I have no interest in
this, and find it hard to use.  I'm guessing no one aside from Casey
really cares?

Changes against parent ba3e8606a008a92c9c2dd05d6cfaf30e1667190a

  patched  htdocs/download/source/index.php
  patched  htdocs/download/windows/index.php
  patched  inc/blurb.download.inc
  patched  inc/blurb.downloaddetect.inc

-------------- next part --------------
============================================================
--- htdocs/download/source/index.php	f98cdedf5a83f5cb155a280e362cda0e533f7b06
+++ htdocs/download/source/index.php	2261c5cd1340cc6c818e8355e83e72b149b116dc
@@ -21,9 +21,7 @@
 <div class="box_download">
 
 <p class="download_button">
-<a class="sourceforge_accelerator_link" href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_version; ?>/pidgin-<?php echo $pidgin_version; ?>.tar.bz2/download"
-onclick="javascript:pageTracker._trackPageview('/goals/downloads/source');"
->Download Now</a>
+<a class="sourceforge_accelerator_link" href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_version; ?>/pidgin-<?php echo $pidgin_version; ?>.tar.bz2/download">Download Now</a>
 <script>
 (function() {
 	var script = document.createElement('script');
============================================================
--- htdocs/download/windows/index.php	24e1c234e548a2fcadeec1914540f0cafd677799
+++ htdocs/download/windows/index.php	7639c0c3c2ea643684bbc08943a4181251321f40
@@ -21,9 +21,7 @@
 <div class="box_download">
 
 <p class="download_button">
-<a class="sourceforge_accelerator_link" href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_win32_version; ?>/pidgin-<?php echo $pidgin_win32_version; ?>.exe/download"
-onclick="javascript:pageTracker._trackPageview('/goals/downloads/win');"
->Download Now</a>
+<a class="sourceforge_accelerator_link" href="http://sourceforge.net/projects/pidgin/files/Pidgin/<?php echo $pidgin_win32_version; ?>/pidgin-<?php echo $pidgin_win32_version; ?>.exe/download">Download Now</a>
 <script>
 (function() {
 	var script = document.createElement('script');
============================================================
--- inc/blurb.download.inc	340e1a8a84d060b7532ba85b1912369ea4ffd3d9
+++ inc/blurb.download.inc	5286195a35a32066bc8ea6fe35b24b83992eea39
@@ -6,11 +6,7 @@ include($_SERVER['DOCUMENT_ROOT'] . "/..
 <?php if ($page['section'] == "Home") { ?>
 <img src="/shared/img/logo.pidgin.png" alt="[Pidgin Logo]" id="logo" width="107" height="185" />
 <?php } ?>
-<a id="download_link" href="<?php echo $download_link; ?>"
-<?php if (strlen($download_goal) > 0) { ?>
- onclick="javascript:ConversionCount();"
-<?php } ?>
->
+<a id="download_link" href="<?php echo $download_link; ?>">
 <img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" width="48" height="48" />
 Download Pidgin<br />
 <span class="number"><?php echo $download_version, ' ', $download_os; ?></span></a>
============================================================
--- inc/blurb.downloaddetect.inc	a70f7d6aff15e7a9bc45f1cd3c249b34954b67c7
+++ inc/blurb.downloaddetect.inc	c026271fcd12c563ff244058bf1786810db98a27
@@ -6,13 +6,11 @@
   // Default vals
   $download_link = "/download/";
   $download_os = "";
-  $download_goal = "";
   $download_version = $pidgin_version;
 
   if (strstr($useragent, 'Win')) {
     $download_os = "for Windows";
     $download_link = "http://sourceforge.net/projects/pidgin/files/Pidgin/$pidgin_win32_version/pidgin-$pidgin_win32_version.exe/download";
-    $download_goal = "/goals/downloads/win";
     $download_version = $pidgin_win32_version;
   } else if (strstr($useragent, "Ubuntu")) {
     $download_os = "for Ubuntu";
@@ -27,23 +25,3 @@
     $download_link = "/download/source/";
   }
 ?>
-
-<!-- Begin google website optimizer tracking code -->
-
-<script type="text/javascript">
-<!--
-// run conversion tracking script
-function ConversionCount()
-{
-//_uacct = 'UA-6596609-1';
-pageTracker._trackPageview('<?php echo $download_goal; ?>');
-if (typeof secondTracker != 'undefined') {
-secondTracker._trackPageview("/1527532502/goal");
-}
-return true;
-}
-// -->
-</script>
-
-<!-- End google website optimizer tracking code -->
-


More information about the Commits mailing list