![]() |
Re: [PATCH] Update to non-legacy Google Analytics code
Thanks for posting that ;-)
|
Re: [PATCH] Update to non-legacy Google Analytics code
Quote:
This code is working well? |
Re: [PATCH] Update to non-legacy Google Analytics code
I don't know yet, I've applied the patch without problems and the new Google Analytics code shows up ok, but will need to wait for few days to see if it's working properly.
I have no reason to suspect that an official patch from QT wouldn't work though. |
Re: [PATCH] Update to non-legacy Google Analytics code
can you post your working ga_code.tpl
This is mine, but gives page errors. Quote:
|
Re: [PATCH] Update to non-legacy Google Analytics code
Quote:
This, I wrote myself: PHP Code:
|
Re: [PATCH] Update to non-legacy Google Analytics code
Thankyou,
Page errors have now gone. |
Re: [PATCH] Update to non-legacy Google Analytics code
I can report that GA is picking up data correctly, however I've noticed that with the new code my site no longer validates for XHTML, with it complaining about the new GA code. I've got an outstanding ticket with Qualitool about this and will post back here when I get it sorted.
|
Re: [PATCH] Update to non-legacy Google Analytics code
Hi GeeCee. Which code are you using? As far as I can tell, both intel's and Yurij's code are XHTML valid.
Possibly give us a snippet of the HTML code that is printed out. (excluding Account ID) |
Re: [PATCH] Update to non-legacy Google Analytics code
This is the GA code as seen by View Source on my site:
Code:
<script type="text/javascript"> This is the the validation output from http://validator.w3.org/: Quote:
|
Re: [PATCH] Update to non-legacy Google Analytics code
Adding //<![CDATA [ //]]> within the script should solve the problem. I think this is because there is a script within a script.
Code:
<script type="text/javascript"> Hope this helps. |
All times are GMT -8. The time now is 11:14 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.