| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
[PATCH] Update to non-legacy Google Analytics code | ||||
|
|
Thread Tools | Search this Thread |
#31
|
|||||||
|
|||||||
Re: [PATCH] Update to non-legacy Google Analytics code
Thanks for posting that
|
|||||||
#32
|
|||||||||
|
|||||||||
Re: [PATCH] Update to non-legacy Google Analytics code
Quote:
This code is working well? |
|||||||||
#33
|
|||||||
|
|||||||
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.
__________________
X-Cart Gold v4.1.10 Manchester, UK Get SEO, PPC or just advice from Intrinsic Marketing |
|||||||
#34
|
|||||||
|
|||||||
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:
__________________
x-cart 4.1.9 |
|||||||
#35
|
|||||||||
|
|||||||||
Re: [PATCH] Update to non-legacy Google Analytics code
Quote:
This, I wrote myself: PHP Code:
|
|||||||||
#36
|
|||||||
|
|||||||
Re: [PATCH] Update to non-legacy Google Analytics code
Thankyou,
Page errors have now gone.
__________________
x-cart 4.1.9 |
|||||||
#37
|
|||||||
|
|||||||
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.
__________________
X-Cart Gold v4.1.10 Manchester, UK Get SEO, PPC or just advice from Intrinsic Marketing |
|||||||
#38
|
|||||||||
|
|||||||||
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)
__________________
Doms kube v4.1.9 |
|||||||||
#39
|
|||||||
|
|||||||
Re: [PATCH] Update to non-legacy Google Analytics code
This is the GA code as seen by View Source on my site:
Code:
This is the the validation output from http://validator.w3.org/: Quote:
__________________
X-Cart Gold v4.1.10 Manchester, UK Get SEO, PPC or just advice from Intrinsic Marketing |
|||||||
#40
|
|||||||||
|
|||||||||
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:
Hope this helps.
__________________
Doms kube v4.1.9 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|