Google Analytics is a powerful tool for tracking your website’s most important metrics and your marketing return on investment (ROI). When it comes to your website, it’s critical to have data around online transactions. That’s why Xola pushes online booking data to Google Analytics so you can see precisely how effective your website is at converting visitors into customers.
Google Analytics + Ecommerce
1. Install Universal Analytics Tracking Code on your site.
Google recommends pasting your tracking code immediately before the closing <head> tag. More on Universal Analytics here.
2. Enable Ecommerce tracking in your Google Analytics Account.
- Go to your account’s Admin panel and click on Ecommerce Settings for the view that you’d like to track.
- Select Enable Ecommerce and set the toggle to On.
- Click Next Step and then select Done.
3. Track Ecommerce conversions using Google Analytics reporting.
- When a transaction on your website is completed, Xola scans your website’s HTML for Google Analytics tracking code. Once that’s located, Xola will send the transaction value to Google Analytics (more on Ecommerce tacking in Google Analytics here).
- Then, Google Analytics will record that purchase and all the user’s behavior leading up to it. Now you are able to see what digital marketing channels contribute (directly or indirectly) to your online sales.
Please note the following
- You should be using the Universal Google Analytics script (analytics.js). The old analytics script (ga.js) will not work. If you're using the old Analytics script, you will need to upgrade.
- If you use a content management system like Wordpress to run your website, be wary of Google Analytics plugins. It is possible that these plugins may obscure your Universal Analytics tracking code so that it is no longer identifiable by Xola. We recommend that you manually paste the code from your Google Analytics account into the head of your HTML code, instead of using a plugin.