Skip to main content

Ecommerce Tracking in Google Analytics

How to use Ecommerce Tracking in Google Analytics. Check these step by steps.

Ecommerce Tracking Part 1: How it Works
This post is the first in a series of e-commerce transaction tracking with Google Analytics. Why is e-commerce tracking important? Well, transaction data is a vital piece of information when analyzing online business performance.


Sure, it’s great to measure things like conversion rate, but revenue is much more tangible to many business owners. Having the e-commerce data in your web analytics application makes it easier to perform analysis. Do you need to set up e-commerce tracking? No, but it sure helps.

The Big Pictures
E-commerce tracking is based on the same principal as standard pageview tracking. JavaScript code sends the data to a Google Analytic servers by requesting an invisible gif file. The big difference is that e-commerce data is sent rather than pageview data.

But how does Google Analytics get the e-commerce data? That’s the tricky part. You, the site owner, must create some type of code that inserts the transaction data into the GA JavaScript. Sounds tricky, huh? Well, its not that bad.

Step by Step: How it Works
Let’s break it down and walk through what actually happens.


  1. The visitor submits their transaction to your server.
  2. Your server receives the transaction data and processes the transaction. This may include a number of steps at the server level, such as sending a confirmation email, checking a credit card number, etc.
  3. After processing the transaction the server prepares to send the receipt page back to the visitor. While preparing the receipt page your server must extract some the transaction data and insert it into the Google Analytics JavaScript. This is the code that you must create.
  4. The receipt page is sent to the visitor’s browser.
  5. While the receipt page renders in the visitor’s browser the e-commerce data is sent to Google Analytics via special GA JavaScript.
  6. Here’s a basic diagram of the process. Again, the biggest challenge during implementation is adding code to your web server that inserts the transaction data, in the appropriate format, into the receipt page. I’ll cover the setup in part 2 of this series.
What Data can be Tracked?
Google Analytics collect two types of e-commerce data: transaction data and item data. Transaction data describes the overall transaction (transaction ID, total sale, tax, shipping, etc.) while item data describes the items purchased in the transaction (sku, description, category, etc.). All of this data eventually ends up in GA reports. Here’s a complete list of the data:

Transaction Data
  1. Transaction ID: your internal transaction ID [required]
  2. Affiliate or store name
  3. Total
  4. Tax
  5. Shipping
  6. City
  7. State or region
  8. Country
Item Data
  1. Transaction ID: same as in transaction data [required]
  2. SKU
  3. Product name
  4. Product category or product variation
  5. Unit price [required]
  6. Quantity [required]
A few notes about the data. First, the geo-location data is no longer used by Google Analytics. The new version of GA tries to identify where the buyer is located using an IP address lookup.

Also, you should avoid using any non-alpha numeric characters in the data. Especially in the numeric fields. Do not add a currency identifier (i.e. dollar sign) in the total, tax or shipping fields. this can cause problems with the data.

Comments

  1. Helpful. Thanks!

    As a marketer I believe that web analytics has become an integral part of any online business. That may sound obvious, but when I say that what I mean is that web analytics provide such in depth inights with granular demographic and behavioural user data that can be used in conception and production of new products or services.

    ReplyDelete

Post a Comment

Thanks For Your Valuable Comments.

Popular posts from this blog

Christmas Selling Tips for Amazon Sellers

Update Your Account Settings and Policies As a seller on Amazon, you have a lot going on over the festive period. Spare yourself unnecessary headaches by making sure the information on your seller account is up to date. Confirm that your email contact information in Seller Central is up to date. Confirm that communications from Amazon are not being processed as junk mail by your email program. Explain your delivery and return polices clearly, and display other delivery information such as options and prices. Post a customer service phone number Make sure you follow our policies by not displaying any portion or version of your URL (e.g., .com, dot com, .net, etc.) anywhere on Amazon. Offer Promotions and Free Delivery Customers love promotions because they offer ways to save money. When considering online purchases, your buyers will be looking at the whole range of promotional offerings – for example, a percentage or a few pounds

Using Google Webmaster Tools to Find Low Hanging Fruit

You can use Google Webmaster Tools to uncover some "low hanging fruit" for getting a bit more traffic to your website. The First step of course is you have to get a webmaster account in Google and verify your site. You can put the keyword " Google webmasters tools" in the Google search bar and find out how to register for your webmaster account. You can then also follow the instructions to verify your site One of the features of the webmaster tool is that it will show you all the major search terms that your site appeared in over a selected time period. In addition to the search terms it will show you the following for each term:

Driving Traffic to Your Online Store: Short-Term vs. Long-Term Solutions

It’s old news that driving traffic is at the top of the priority list for eCommerce professionals. It doesn’t matter if you’re driving hundreds of thousands of visitors or laser-targeting only the most relevant traffic—if nobody’s visiting your site you’re not selling anything, at least not in that channel. Similarly, strategies for driving traffic come as varied as the people executing them. There’s no one-size-fits-all. In deciding where to put your time and money it can help to look at the different types of traffic drivers and how they fit with your business strategy. I’m talking about short-term vs. long-term traffic drivers.