Adding Google Analytics tracking to 1shoppingcart
A fair number of people arrive at this site looking for information about adding Google Analytics tracking to 1shoppingcart so I figured I better write something more thorough about it as at the moment the only content is comments on some other posts!
I’m currently working for a guy implementing some Google Analytics goals amongst other things and for some of his products he uses 1shoppingcart so I naturally attempted to add the Google Analytics script to those pages.
Unfortunately it appears that 1shoppingcart strip out any <script></script> tags which means you can’t add the Google Analytics tracking tag to the 1shoppingcart pages. I assume they’re doing it for potential security reasons? Although it still seems a little silly to me.
You really only have two options to get around this.
Tracking 1shoppingcart using Google Analytics
You can still use Google Analytics just not very well. You have to leave it off the sales pages on 1shoppingcart meaning you can’t do any advanced e-commerce tracking.
It’s also quite inaccurate because you are relying on the user to actually go back to the conformation page on your site otherwise the goal won’t get tracked.
Tracking 1shoppingcart with their own tracking system
1shopping cart actually have their own bespoke tracking system now as far as I’m aware (which I think is another reason they’ve blocked Google Analytics from working.
I’m not entirely clear how this works but later today or in the next few days I will be finding out about it and I’ll update this post with more info on it.
Stay tuned…
Related Posts
- 500 Ways To Find Adam Taylor
- Was there a reason for the recent Google Analytics downtime?
- Google Analytics Tutorial - Advanced e-commerce tracking
- Google Analytics Tutorial - How to filter unwanted data in Google Analytics













May 20th, 2008 at 5:42 pm
I just spoke with 1ShoppingCart and they claim not to support adwords, which is crazy. (Of course I found this out after adding 300 products and code. oops.)
I’m looking forward to reading your other posts.
Banner boy
June 27th, 2008 at 1:47 am
I’ve spoke to 2shoppingcart today and they said they have added javascript support last week, you can ask them to send you the variables they pass.
July 16th, 2008 at 3:07 am
Adam, to my understanding if I have a dynamic thankyou page that retrieves the output variables from 1shoppingcart shouldn’t google analytics ecommerce be able to track those variables and get it working that way?
July 16th, 2008 at 10:30 am
If you know what the variables are and can add them to the page then you should be able to track it as per this page http://www.conversion-matters.co.uk/google-analytics-tutorial-advanced-ecommerce-tracking