I've added another one time the google original code to footer, and google analytics now work ok.
I've added another one time the google original code to footer, and google analytics now work ok.
hm.. unfortunately that 'code fix' i suggested on the previous page or the page before doesn't work too well.. still not getting all of my sales on there![]()
The possible reasons:
1. User setting javascript off;
2. Google server Is inaccessible/overloaded;
3. javascript errors in another javascript scripts, before this javascript executed;
4. User does not wait for ending complete loading of page;
5. Something else :-(
I've posted to google analytics team html code of sale processed into my website.
We hope in their quick reply.
Hi Andrew,
I think there may be something else - I just did a test transaction in Firefox, and I got this error in Javascript console:
Error: __utmSetTrans is not defined
Source File: https:// www.xxxxxxx.com/ checkout_success.html
Line: 45
However, when I see source the way you showed me (thanks again!).. i see this in header:
function zen_utmSetTransX() {
var frmUTM = document.createElement("form");
frmUTM.id = "utmform";
frmUTM.name = "utmform";
frmUTM.style.display = "none";
var txtUTM = "";
txtUTM += "\n <textarea id=\"utmtrans\">\n";
txtUTM += " UTM:T|141|GYGH|11,79||7,80|Plano|Texas|United States\n";
txtUTM += " UTM:I|141|SDRW|SD and miniSD Card Reader / Writer|M3, G6, Passcard3|3,99|1\n";
txtUTM += "\n </textarea>\n";
frmUTM.text = txtUTM;
document.body.appendChild(frmUTM);
__utmSetTrans();
}
So.. product is correctly being made and everything. However, __utmSetTrans(); doesn't want to work - this may be a google problem. Hopefully 100asa can get google to respond accordingly :)
I have an idea however.. what if we were to copy __utmSetTrans(); and put into the jscript_google_analytics.php file?
Last edited by samad64; 30 Nov 2006 at 09:13 AM.
Sorry, My previous post was addressed getyourgameshere.com.
To 100asa.
1. On your site http://www.100asa.it/ function zen_urchinTracker() does not execute. Why - I don't know.
2. Who, why and for what purposes add to your head this strange code?
3. You see your site on Markup Validation Service - http://validator.w3.org/check?uri=ht...ss=1&verbose=1Code:<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><meta content="MSHTML 6.00.2600.0" name="GENERATOR"><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><meta content="MSHTML 6.00.2600.0" name="GENERATOR">
i am currently trying a slight alternative to the original function.. will post up details once analytics updates
Sorry, I've just opend my homepage www.100asa.it on firefox and IE, but I can't see what you say.
This is html of my homepage
getyourgameshere.com!
May be, may be. But I already rewrite this mod.
Download and try last version.
v 1.2.0 29.11.2006 12:41
NB!
1) Remove /includes/modules/pages/checkout_success/jscript_google_analytics.php
2) Replace /includes/templates/YOUR_TEMPLATE/jscript/jscript_google_analytics.php by new one.