Measure Revenue, Transactions Generated on Website
Capturing Ecommerce Data On Your Volusion Website
To break things down, there are two types of ecommerce data that you can send using analytics.js: transaction data and item data.
Transaction data will give you information about your customers’ transactions including:
- Transaction ID
- Total revenue
- Total shipping cost
- Total tax charged
Item data will give you information about the individual products that a customer purchased. This includes:
- Transaction ID
- Item name
- Item code or SKU
- Item category
- Item price (per individual unit)
- Quantity of items purchased
Does this sound like the kind of information you wanted to gather? Great! Read on!
*Note: This guide covers the implementation of the Google Analytics ecommerce tracking for websites using Universal Analytics (analytics.js).
There are five steps and components associated with the Google Analytics ecommerce tracking code:
- Load the Google Analytics Universal tracking code (gray snippet)
- Load the ecommerce plugin (green snippet)
- Capture transaction data (blue snippet)
- Capture item data (purple snippet)
- Send the data to Google Analytics (pink snippet)
When a customer successfully completes a purchase on your Volusion website, they are redirected to a “Thank You” page. If you enable ecommerce tracking and have the code on your “Thank You” page, the ecommerce data from the transaction will be sent to Google Analytics.
Below is the code required for ecommerce tracking for websites using Google’s Universal Analytics.
Before inserting this into website, substitute the red text for your own Google Analytics property tracking ID. Your property tracking ID can be found in the Admin panel of your Google Analytics under Property Settings.
*Note: if you already have Google Analytics installed on your Volusion website template, you do not need to include the gray snippet of code below.
In Google Analytics:
- Click on Admin
- Under View, click Ecommerce Settings
- Under Enable Ecommerce, click Edit and set the status to On*
- Click the Submit button
* This tutorial does not cover Enhanced Ecommerce Settings. Leave this option off for now.
In your Volusion dashboard:
- Hover over Design and click Site Content
- Click on Article ID 130 (OrderFinished.asp)
- Paste your ecommerce tracking code into the Article Body section of the OrderFinished.asp page
- Click Save
Now you’re in monitoring mode. For the next few days, check the revenue columns in your Google Analytics as well as the Conversions > Ecommerce section to make sure your website data is flowing through correctly. To make sure the numbers are accurate, cross reference the revenue, purchased products, and transaction data in Google Analytics with the order information found in the back end of your Volusion website.
And that’s that!
Keep an eye out on the Vertical Rail blog for more posts about ecommerce analytics!
If there’s a topic you would like us to address in particular, or if you’re running into issues implementing the code, please comment below or fill out our contact form and we’ll be in touch!