www: 2baff554: tweaking google website optimizer settin...
caseyho at pidgin.im
caseyho at pidgin.im
Sat Dec 13 17:55:39 EST 2008
-----------------------------------------------------------------
Revision: 2baff554ae211b3af45e8001488af6aa9609f0f6
Ancestor: 392c771b06aed09d852297e8726e203027740b56
Author: caseyho at pidgin.im
Date: 2008-12-13T22:50:31
Branch: im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/2baff554ae211b3af45e8001488af6aa9609f0f6
Modified files:
htdocs/index.php inc/blurb.download.inc
inc/blurb.download_new.inc inc/blurb.downloaddetect.inc
inc/footer.inc
ChangeLog:
tweaking google website optimizer settings
-------------- next part --------------
============================================================
--- htdocs/index.php 985f95ac4ab562f092b783e3fd9aae76cd3950b2
+++ htdocs/index.php 425a50eabac29775f34ba038a9efdcbc1d17fd01
@@ -1,5 +1,6 @@
<!-- Begin Google Website Optimizer tracking code -->
<script>
+_udn=".pidgin.im";
function utmx_section(){}function utmx(){}
(function(){var k='1527532502',d=document,l=d.location,c=d.cookie;function f(n){
if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.indexOf(';',i);return c.substring(i+n.
============================================================
--- inc/blurb.download.inc 7b98d96dcca477e99d9bc6d58f8e7cf11524510d
+++ inc/blurb.download.inc 04cd9e2545757fc2c6de652257d6135ef98736a7
@@ -8,7 +8,7 @@ include($_SERVER['DOCUMENT_ROOT'] . "/..
<?php } ?>
<a id="download_link" href="<? echo $download_link; ?>"
<?php if (strlen($download_goal) > 0) { ?>
- onClick="javascript:pageTracker._trackPageview('<? echo $download_goal; ?>');ConversionCount();"
+ onClick="javascript:ConversionCount();"
<?php } ?>
>
<img src="/shared/img/button.download.png" alt="[Down Arrow]" id="downbutton" width="48" height="48" />
============================================================
--- inc/blurb.download_new.inc 52afbec8b5b4c77f81e50db3f81f746133b7dd7a
+++ inc/blurb.download_new.inc 4f42316e1c0b5c0bfeb08bb3c38e38b91fa674ac
@@ -7,7 +7,7 @@ include($_SERVER['DOCUMENT_ROOT'] . "/..
<div>
<a id="download_link" href="<? echo $download_link; ?>"
<?php if (strlen($download_goal) > 0) { ?>
- onClick="javascript:pageTracker._trackPageview('<? echo $download_goal; ?>');ConversionCount();"
+ onClick="javascript:ConversionCount();"
<?php } ?>
>
<strong>Download Pidgin <? echo $download_os; ?> </strong> <br />
============================================================
--- inc/blurb.downloaddetect.inc e767d63909f3faa07e32a334a0a4a6409bc433ec
+++ inc/blurb.downloaddetect.inc 41f23f9c878894da0933679f1e0bec5dffc07bd5
@@ -40,7 +40,8 @@ function ConversionCount()
// run conversion tracking script
function ConversionCount()
{
-_uacct = 'UA-6596609-1';
+//_uacct = 'UA-6596609-1';
+pageTracker._trackPageview('<? echo $download_goal; ?>');
secondTracker._trackPageview("/1527532502/goal");
return true;
}
============================================================
--- inc/footer.inc b4743866d2d9bdc2b6af2c44b0a9198bd72b6ac2
+++ inc/footer.inc d7197d722b4b50be83309bc705b0b5616fda68ef
@@ -12,9 +12,11 @@ pageTracker._setDomainName(".pidgin.im")
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-2814037-1");
pageTracker._setDomainName(".pidgin.im");
+pageTracker._initData();
pageTracker._trackPageview();
var secondTracker = _gat._getTracker("UA-6596609-1");
+secondTracker._setDomainName(".pidgin.im");
secondTracker._initData();
secondTracker._trackPageview("/1527532502/test");
</script>
More information about the Commits
mailing list