Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

[PATCH] Update to non-legacy Google Analytics code

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #41  
Old 04-24-2008, 01:08 AM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

And here's a page that supports using CDATA as well...
http://www.googleanalyticsresults.com/2007/12/updated-google-analytics-tracking-code.html
__________________
Doms
kube v4.1.9
Reply With Quote
  #42  
Old 04-24-2008, 11:41 AM
 
GeeCee GeeCee is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 111
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

Good find guys, I've raised this with QT support.
__________________
X-Cart Gold v4.1.10
Manchester, UK
Get SEO, PPC or just advice from Intrinsic Marketing
Reply With Quote
  #43  
Old 04-29-2008, 09:31 PM
 
GeeCee GeeCee is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 111
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

QT Support have released 2 more patch files to fix the problem with their last Google Analytics Upgrade producing invalid XHTML code as mentioned above. I've attached the extra diff files to this post: DIFF_31252 & DIFF_31253, in GA CDATA Patch.zip

I've also uploaded GA Upgrade Final.zip which has all 4 DIFF files in, for use if you haven't yet started to upgrade your GA code from urchin. They should be applied in number order, i.e. DIFF_30599 first, and DIFF_31253 last.
Attached Files
File Type: zip GA CDATA Patch.zip (2.4 KB, 80 views)
File Type: zip GA Upgrade Final.zip (3.1 KB, 103 views)
__________________
X-Cart Gold v4.1.10
Manchester, UK
Get SEO, PPC or just advice from Intrinsic Marketing
Reply With Quote
  #44  
Old 04-30-2008, 11:47 AM
 
firecompanies firecompanies is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 48
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

I've applied the patches that exist in the GA Upgrade Final.zip and put my tracking ID and ticked "Use E-Commerce analysis" in the general settings. But when I visit my homepage and view the page source, I see no javascript being added. After some research of the x-cart code, I found that it only adds the GA code to the page when an item is added to the cart through checkout.

The problem is, Google Analytics is reporting "Tracking code not verified" because Google states that "For Analytics to function, you or your web administrator must add the code to each page of your website." And it is not being applied to EVERY PAGE, especially not the HOME PAGE.

Any ideas?
__________________
Craig Elliott

X-Cart version 4.1.9
Reply With Quote
  #45  
Old 05-01-2008, 12:11 AM
 
GeeCee GeeCee is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 111
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

Have you enabled "Google Analytics" in the Modules menu?
__________________
X-Cart Gold v4.1.10
Manchester, UK
Get SEO, PPC or just advice from Intrinsic Marketing
Reply With Quote
  #46  
Old 05-01-2008, 12:14 AM
 
firecompanies firecompanies is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 48
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

Yes I have, otherwise, I wouldn't be able to put in my tracking ID and check "Use E-Commerce analysis".
__________________
Craig Elliott

X-Cart version 4.1.9
Reply With Quote
  #47  
Old 05-04-2008, 07:03 AM
  Marius Ciocan's Avatar 
Marius Ciocan Marius Ciocan is offline
 

Advanced Member
  
Join Date: Apr 2005
Location: Romania
Posts: 52
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

Quote:
Originally Posted by matrixa59
Has anyone noticed that transactions are not reported correctly since the 1/5/08 all of a sudden mine are completely incorrect?

I am missing loads of transactions. I have not changed the code.

Exact same problem here.
I dont know the solution.
__________________
I want to buy an X-CART GOLD license. Please PM.
Reply With Quote
  #48  
Old 05-05-2008, 12:25 PM
  Marius Ciocan's Avatar 
Marius Ciocan Marius Ciocan is offline
 

Advanced Member
  
Join Date: Apr 2005
Location: Romania
Posts: 52
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

Here is a discution about this problem:http://groups.google.com/group/analytics-help-troubleshoot/browse_thread/thread/554777de5f435670/cb6441ab0...nvertion+drop#
__________________
I want to buy an X-CART GOLD license. Please PM.
Reply With Quote
  #49  
Old 05-05-2008, 05:01 PM
 
starwest starwest is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 268
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

It seems tons of people have been having this problem since April 30th - I'm in that boat as well. GA is only tracking about 50% of my transactions.. oddly it seems to still be accurate with Adwords. I guess they don't want me to freak out and turn off my Adwords spend.
__________________
X-Cart Gold v4.1.10 [unix]
AOM, Special Offers, CDSEO Pro, Remember Anon Carts, Back-In-Stock Notifications, MM3, Feed Manager
Reply With Quote
  #50  
Old 05-08-2008, 11:19 AM
 
starwest starwest is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 268
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

Quote:
Originally Posted by matrixa59
The adwords transactions do seem to be reporting fine. The last 48 hours seem to be fine. Ill just have to keep checking. I just hope it was a bug and not our site.

It seems google has resolved the issue. My data is back to being accurate withing about 5-10% now, which seems to be the norm for me.

Has anyone been able to get more accurate results, or is that just the limitation of GA (due to js being disabled by some, etc.)?
__________________
X-Cart Gold v4.1.10 [unix]
AOM, Special Offers, CDSEO Pro, Remember Anon Carts, Back-In-Stock Notifications, MM3, Feed Manager
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:21 PM.

   

 
X-Cart forums © 2001-2020