Google Analytics |
Post Reply | Page <12 |
Author | |
razorclicks
Newbie Joined: 20-August-2010 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Everyone,
I apologize for coming across so rude. My assumption was that Early Impact's refusal to deal with this issue was due to their not supporting third party programs such as Google Analytics. Bottom line, here's the problem:
Greg - I mean you too... |
|
ITistic
Certified ProductCart Developers Joined: 26-January-2009 Location: FL Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Hi,
We'd be happy to work with you to resolve your problem. Please send me a private message here or contact me through our website. |
|
ProductCart
Admin Group ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
An update on this issue.
Shawn ended up finding what the problem was (thank you Shawn!): apostrophes in the product name were causing a JavaScript error, which led to the order not being passed successfully to Google Analytics. As soon as we located the issue, we created a fix and tested it successfully. Updated files have been posted to the ProductCart WIKI. Download them again. The only file that has changed is pc/inc-GoogleAnalytics.asp We apologize for not finding the problem earlier. |
|
Brett
Groupie Joined: 22-April-2008 Location: Phoenix, AZ Status: Offline Points: 89 |
Post Options
Thanks(0)
|
So was this an actual ProductCart bug with apostrophes not being escaped in the data sent to GA? Or is this something third party related with the guys GA setup?
Do I need to patch my code with this fix? Does it affect all installations? |
|
ProductCart
Admin Group ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
Correct, it was a bug. The code was not properly handling product names that contained an apostrophe. When an order included a product whose name contained an apostrophe, there was a JavaScript error that resulted in the data not being passed successfully to Google Analytics, thus the order not being displayed there.
The vast majority of products do not contain an apostrophe in the product name, which is why the problem rarely surfaced. Still, we should have caught this earlier. To fix the issue, download the latest Google Analytics files. As mentioned above, the only file that has been altered to correct this problem is pc/inc-GoogleAnalytics.asp. Once you download the files, unzip them and upload the updated inc-GoogleAnalytics.asp to the "pc" folder. Note that the files to be downloaded are different depending on which tracking code your are currently using. See the WIKI for details. |
|
Bosola 1
Newbie Joined: 03-January-2011 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
I think Google Analytics is generally pretty unreliable. The other day I had some very strange looking stats and found out it was just a slitch in the system. They up-dated to the correct ones about four hours later.
|
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hi, I think it's pretty unfair to damn GA on one incidence which as you said yourself was a "glitch"! Google Analytics provides lots of potentially useful stats.
|
|
Post Reply | Page <12 |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |