ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Search Engine Optimization
  New Posts New Posts RSS Feed - Google Analytics
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Google Analytics

 Post Reply Post Reply Page  12>
Author
Message Reverse Sort Order
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Topic: Google Analytics
    Posted: 03-January-2011 at 10:06am
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.  
Back to Top
Bosola 1 View Drop Down
Newbie
Newbie


Joined: 03-January-2011
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bosola 1 Quote  Post ReplyReply Direct Link To This Post Posted: 03-January-2011 at 9:18am
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.
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 18-October-2010 at 12:55pm
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.
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
Brett View Drop Down
Groupie
Groupie
Avatar

Joined: 22-April-2008
Location: Phoenix, AZ
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett Quote  Post ReplyReply Direct Link To This Post Posted: 18-October-2010 at 12:37pm
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?
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 18-October-2010 at 3:44am
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.
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
ITistic View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 26-January-2009
Location: FL
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote ITistic Quote  Post ReplyReply Direct Link To This Post Posted: 23-August-2010 at 2:22pm
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.


Shawn Berg
Owner / Project Manager
(877) iTISTIC / (877) 484-7842
Back to Top
razorclicks View Drop Down
Newbie
Newbie


Joined: 20-August-2010
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote razorclicks Quote  Post ReplyReply Direct Link To This Post Posted: 23-August-2010 at 1:06pm
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:
  1. We have a ProductCart site.
  2. We are doing well.
  3. We can be doing better.
  4. We are using Google Analytics for data reporting.
  5. Google Analytics is underreporting data.
  6. Google Analytics is free - and does not offer a support team.
  7. ProductCart knows how ProductCart works.
  8. ProductCart knows how Google Analytics works.
  9. We need both ProductCart & Google Analytics to work well.
  10. We need help.
Anyone out there that is willing to do a paid troubleshooting consultation of our setup to track down what is going on?
Greg - I mean you too...
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 21-August-2010 at 11:12am
Razorclicks.  I just have to say that I was stunned yesterday when you so rudely accused Early Impact of not being familiar with GA. 
 
Have you examined their wiki that disucsses the integration between PC and GA?  There is significant code within ProductCart that represents that intergration, which has been present within the application for years, and which has experienced several upgrades and enhancemetns over that period of time.  I will assure you that EI is fully familiar with GA.
http://wiki.earlyimpact.com/widgets/integrations/googleanalytics/googleanalytics
 
For someone with a grand total of two posts, you may want to be a bit less accusatory in order to win friends (much less potential clients) in a forum where you are a new guest.
 
Thanks.
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 20-August-2010 at 1:33pm
Not sure what you mean. We are very, very familiar with Google Analytics. We have been using it since its inception.

Again, this does not appear to be a ProductCart issue. There are widespread reports of Google Analytics under-reporting e-commerce transactions, as indicated in our previous post.

As for your message above, purchaseComplete.html is not a ProductCart page. It does NOT exist in ProductCart.
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
razorclicks View Drop Down
Newbie
Newbie


Joined: 20-August-2010
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote razorclicks Quote  Post ReplyReply Direct Link To This Post Posted: 20-August-2010 at 1:27pm
ProductCart, we really understand that you aren't familiar with GA. However, we believe that you are the most qualified to solve this issue. Basically, the order information is not being transmitted to GA upon each purchase.
Here is one clue that I spotted - in the Top Content Report on GA, there are two pages that seem to be appearing when the order is completed, PurchaseComplete.asp, and OrderComplete.asp. I believe that order data is only transmitted to GA upon trigger of the page OrderComplete.asp. Please see this image. If we can resolve the order complete page, this problem with probably go away.

Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.