Ecommerce Tracking through 1ShoppingCart’s Google Analytics integration

**

Update – 3/5/2009 – I’ve been demo’ing the 1SC/Google Analytics integration quite a bit lately (to staff and others) and put together a little document to try and show the results of a successful implementation.  You can take a look at the document here!

**

It has been brought to my attention that I completely glossed over a fairly significant aspect of 1ShoppingCart’s Google Analytics integration in last weeks post.

Sorry, I included a link down at the bottom of that post to cover the topic, but didn’t say much about it.

But now, thanks to the wonders of social media and the smart people who follow me, I will correct that!

Ecommerce tracking through 1ShoppingCart’s Google Analytics integration…

Basically the end result of this is that Google Analytics will track and display transaction related stats right from your Analytics account dashboard.

This is a great feature and I highly recommend using it, unfortunately 1ShoppingCart didn’t integrate this portion of the tracking script.

The reasons are two-fold:

  1. I had the opportunity to squeeze through a SMALL project and get it released quickly.
  2. You can still set it up and use it (/track it) manually!

I won’t go over ALL the details here, because Googles help is actually pretty good for this topic; which you can find here.

What’s Required?

This is going to be a ‘little’ sketchy, because I haven’t set this up before, so keep that in mind:

The Google Analytics script has the ability to capture transaction details from the Transaction Thank You page.  All you have to do is install the Google script on one of your own pages, tell your analytics account to start tracking and tell your 1ShoppingCart account to use your new page as your default order thank you page.

Then, after every successful transaction on the 1ShoppingCart system we’ll automatically post the details of the transaction to your thank you page (no sensitive information is sent of course!) and your google script will capture the information.

Once you have your Thank You page setup and ready, update the ‘Thank You URL:‘ field on the ‘Setup >> Orders‘ page with your new URL.  * Remember, this is your account default setting, there is an over-ride on every products details page!

That’s about it!  It’ll take a little while to get your Thank You page setup just right I imagine, but the rest is pretty straightforward.

Information that the google script will capture:

Order ID
Affiliation
Total
Tax
Shipping
City
State
Country
Order ID
SKU
Product Name
Category
Price
Quantity

You’ll have to remove the Category option from the Google Script, since this is not information that we currently pass to the thank you page!

12 thoughts on “Ecommerce Tracking through 1ShoppingCart’s Google Analytics integration”

  1. Even better, I've setup my thankyou page to accept dynamic variables and an unlimited number of products from 1shoppingcart. Comes in handy if you're selling multiple products, different costs, and upselling.

    Also, if you're using a digital download in 1shoppingcart, don't count on having people click “Finish Your Order” after they download their product. Which will result in inaccurate reporting.

  2. Sorry Donovan, I didn't see this comment when you posted it…

    Thanks for sharing, and excellent point regarding a digital download process.

    You may run into the same problem using PayPal too (inaccurate numbers), as many PayPal customers leave the process once PayPal confirms the purchase and don't click through all the way to the thank you page.

  3. Michael,

    Thank for the information. I've checked and rechecked, and I believe I have the Analytics tracking code correctly on the page. And I did update the product links (I use a form, but got that coding from the Analytics help page for using analytics with 3rd party shopping carts).

    But I can't seem to get Analytics to track from the underlying web pages to the 1ShoppingCart page. So when I look at the navigational summary from one of my product pages, it doesn't show the clicks going to the cart page in the next pages section (they must just be seen as exit links). Similarly, the cart pages aren't showing where the incoming clicks are coming from. And the ecommerce stuff isn't tracking either.

    I had been using urchin and it worked ok, except for the tracking between pages (strangely, the optimizer worked and ecommerce, but it wouldn't track the movement from the product pages from the cart). What is strange about this is that the same urchin setup with my old cart did track to the cart pages.

    Are you getting Analytics to work in tracking from your product pages to your cart pages? If so, is there anything you did to make it work that isn't mentioned here? Finally, I also want it to work with ecommerce and the website optimzer as well. Have you been able to get these both working, and if so how?

    Thanks, David

  4. HI Michael,

    I'm using a custom thank you page for each product. But according to tech support at 1ShoppingCart they don't POST the transaction data.

    So, I'm not sure how you're capturing the order id, product id, etc.

    Thanks,

    Rick

  5. After finding out you are a Product Manager at 1SC, I called 1SC back. This time I got the info on what variables are posted back to the site.

    Rick

  6. We have our Google Analytics and our WordPress site all coded as you have outlined. Ran Sitescan and everything checked out OK. After having it up and running a few days, we are seeing our sales coming through on Analytics in the Goals funnels. But we see zero sales in our Ecommerce.

    Any ideas?

  7. Hey Michael,

    Thanks for the info but I don't see any info in my 1Shop account for POSTing transaction details to a custom Thank You page.

    I have a Basic account with 1SC. Where are we supposed to find these options?

    -Costas

  8. Hi Rick– what was the answer they gave you? I called as well and was told it was not possible.

    -Costas

  9. Costas/Rick

    How are you passing the variables through? I've been trying to figure this last piece out but have not been able to find the correct solution.

    Any help would be much appreciated.

  10. I set up simple thank you page in 1SC to point to my site, I use php and trying to print all variables var_export($_POST) . BUT no matter what or how I do there is no any data back form 1SC no POST nothing.

    Is there some option in 1SC what should I enable ?

  11. I wounder why 1SC has not come out of the woodwork to support this issue yet. I’m having the same problems over here…..

    Any updates on solutions?

Comments are closed.