Adam

Adding Google Analytics tracking to 1shoppingcart

by Adam on January 8, 2008

in Guides

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:

  1. Google Analytics Tutorial – Advanced e-commerce tracking
  2. Google Analytics Tutorial – Setting up Google Analytics
  3. Google Analytics Tutorial – How to track conversion rates
  4. Google Analytics Tutorial – How to filter unwanted data in Google Analytics
  5. Was there a reason for the recent Google Analytics downtime?

{ 5 comments… read them below or add one }

Banner Boy May 20, 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

Reply

Meny June 27, 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.

Reply

Donovan July 16, 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?

Reply

Adam July 16, 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.adamjctaylor.com/google-analytics-tutorial-advanced-ecommerce-tracking

Reply

Karen January 30, 2009 at 9:14 pm

Are there any follow ups to this since I’d like to add google analytics to the check out page as well as my sales page.

Thanks,
Karen

Reply

Leave a Comment