How to Upgrade to Universal Analytics on Your Volusion Store

A few years ago we posted instructions for how to install Google Analytics for your Volusion store. Recently Google launched a major upgrade to the GA code called Universal Analytics. This upgrade will provide you with a lot more power and flexibility in analyzing your store data.

In addition to keeping the features you have come to rely on for your store, Universal Analytics brings quite a few more benefits to it:

  • Track offline conversions (such as foot traffic)
  • Track custom metrics to open up all new insights into visitor behavior
  • Track at the visitor level instead of a visit level
  • Improved reporting

Google Universal Analytics Ecommerce Screenshot

This post will walk you through both the upgrade process as well as installing the new code into your Volusion template. Don’t worry, we’ve got you covered with a new version of the ecommerce tracking code for Volusion as well.

Note: if you have not yet created a Google Analytics account, you will want to create a new Universal Analytics account and then skip Step 1 below.

Step 1: Transfer to Universal Analytics

The first phase in the upgrade process is to “transfer” your analytics property to Universal Analytics. Your account really remains the same as transferring is really upgrading.

Note: there is no going back once you upgrade. However, since all Google Analytics accounts will be transferred over sometime soon anyways, it probably doesn’t make a difference.

Here are the steps:

  1. Login to your Google Analytics property
  2. Click on “Admin” in the upper right
  3. Click on the “Universal Analytics Upgrade” option. This will show if your account has not yet been upgraded and the upgrade is available to you.
  4. Universal Analytics Admin Upgrade

  5. Click the “Transfer” button
  6. Transfer to Universal Analytics

  7. In the pop up, carefully review the features that are not currently available, then click “Transfer”

The transfer could take a little while – officially 24-48 hours. I have seen it both go really fast and also take up to 24 hours. Be patient and don’t forget to check back.

Know that Google Analytics should be properly tracking visits and transactions in the meantime. Even if Google completes the transfer but you have not updated your code yet, you should be fine with the old code for the time being.

Once completed, proceed to Step 2.

Google Analytics Upgrade to Universal Analytics - Transfer Complete

Step 2: Update your Analytics Code

The second phase is to replace the previous Google Analytics code with the updated Universal Analytics code. In order to do so, we will remove the old code from the template and add the new one in.

Note: you can get to your template files either through the Volusion dashboard or via FTP – but you already knew that. These instructions will focus on the dashboard method as that is more accessible for those of you who aren’t coder types.

  1. Login to Volusion
  2. Go to Design > File Editor
  3. Edit Your Volusion Template

  4. Under Shortcuts, click on your Template File
  5. Select your Volusion Template File

  6. Before making any changes, backup all the code from this file
  7. Find and remove your old Google Analytics code (should look something like the screenshot)
  8. Remove your old Google Analytics Code

  9. Get your new Universal Analytics code
  10. Get your Universal Analytics Tracking Code

  11. Place the new code just above the closing head tag
  12. Add the Universal Analytics Code to your Volusion Store Template

  13. Click “Save”

Analytics should now be properly tracking visitor data. You can verify this by logging in to Analytics and looking at the real time data to see yourself navigating the site.

Step 3: Volusion Ecommerce Transaction Code

You’re almost there! While Universal Analytics is now properly tracking visitor data, we want to make sure that you can track your Volusion store’s ecommerce data as well. This transaction data can provide incredible insight into how your online store is performing and help you gauge your ROI. Ultimately, this tracking code can help you identify key areas of opportunity and can provide the insight you need to increase your conversions.

  1. Copy the Volusion ecommerce transaction code below
  2. Login to your Volusion store
  3. Go to Design > Site Content
  4. Volusion Site Content

  5. Open Article 130 – ROI_Javascripts
  6. ROI Javascripts Article for Ecommerce Code

  7. Click on the HTML Editor button for the Article Body
  8. Add Volusion Ecommerce Tracking Code for Universal Analytics

  9. Paste the following code in (replacing Convergent7 with your store’s name of course)
  10. <script type="text/javascript">// <!&#91;CDATA&#91;
    // Summary
    	ga('require', 'ecommerce', 'ecommerce.js');
    	ga('ecommerce:addTransaction', {
    		id: Order&#91;0&#93;, // Order ID
    		affiliation: 'Convergent7', // Store name - Add yours
    		revenue: Order&#91;2&#93;, // Grand Total
    		shipping: Order&#91;5&#93; , // Shipping Cost
    		tax: Order&#91;4&#93;  // Sales Tax
    	});
    // Details
    	for(var i=0;i<OrderDetails.length;i++) {
    		ga('ecommerce:addItem', {
    			id: OrderDetails&#91;i&#93;&#91;0&#93;, // Order Detail ID
    			sku: OrderDetails&#91;i&#93;&#91;2&#93;, // Product Code
    			name: OrderDetails&#91;i&#93;&#91;3&#93;, // Product Name
    			category: OrderDetails&#91;i&#93;&#91;4&#93;, // Category ID
    			price: OrderDetails&#91;i&#93;&#91;5&#93;, // Product Price
    			quantity: OrderDetails&#91;i&#93;&#91;6&#93; // Quantity
    		});
    	}
    // Send
    	ga('ecommerce:send');
    // &#93;&#93;></script>
    
  11. Click Save

That’s it!

We recommend verifying that the code is working properly. The incoming ecommerce data can lag some, so don’t freak out until you don’t see any data on day 2. But if you follow these instructions, you should be good.

Now comes the fun of figuring out how to take advantage of all the new power and flexibility afforded to you by Universal Analytics. Enjoy.

Finally, Google has indicated that they will be auto transferring sites that do not upgrade on their own in the coming months so we highly recommend that you upgrade your store today.

If you are terrified of ruining your store by touching the code, Convergent7 will upgrade your store for you (starting at just $95)

Share and Enjoy:
  • email
  • Facebook
  • Twitter
  • StumbleUpon
  • Digg
  • del.icio.us
  • Google Buzz
  • Print
About Scott Williams

Scott Williams is the Technical Marketing Manager at Convergent7. Part SEO analyst, part ecommerce consultant, and part programmer he focuses on helping clients get the most out of their business through best practices and creative solutions. He is also a big fan of the Lakers and tacos.
You can find him on , Twitter, LinkedIn, C7 Ecommerce Forums and Stack Overflow

X