Conversion tracking in Google Analytics and Adwords
The following is performed automatically if the website has been created by AccuBook. If you are integrating the booking engine into your own website the following steps need to be taken to ensure the conversion statistics are tracked correctly.
To track conversion statistics in analytics you need to perform the following steps.
Log in to analytics or create a new account if you have not already done so.
Enable the site as an E-Commerce site in Analytics
- Click 'Admin' at the right of the orange bar.
- Select the property in the "Accounts" column on the left hand side
- Under the "View (Profile)" column, on the right hand side, select "View Settings"
- Select the currency
- Turn Ecommerce tracking on
- Click Save.
Link the AdWords account to the Analytics Profile
Log in to Google Adwords and select the property account you want to link.
1. Click the Tools and Analysis tab, then select Google Analytics.
2. Click the Admin tab at the top of the page.
3. In the “Account” column, select the Analytics account you want to link with your AdWords account. (Note: If you don’t see the account you’d like to link, you may need to navigate back up to the account level, or further up to Account Home, in order to reach the Account Administration page and view a list of your accounts.)
4. Click AdWords Linking.
5. Click the +New link button at the top left of the table.
6. Select the AdWords account you want to link with your Analytics account.
7. Click the Next step button.
8. In the “Link configuration” section, select the Analytics views in which you want the AdWords data to be available.
9. If you've already enabled auto-tagging in your AdWords account, skip to the next step. The account linking process will enable auto-tagging for you. Click Advanced settings only if you need to manually tag your AdWords links.
10. If you’ve already opted to share your data with other Google products, skip to the next step.
11. Click the Link Accounts button.
Ensure the correct user access is granted to people to the Google Analytics accounts. Administrators have access to all profiles in the account. ( this is an issue if google analytics was not set up on its own account , e.g. the tracking code ends in a large number e.g. -12 rather than -1)
It will take around 24 hours before conversion information is available.
Adwords Conversion Tracking
AdWords will begin importing the data from your Analytics account, starting from the day you clicked "Import from Google Analytics." Data from before this date won't be added. You'll start to see your goals appear alongside your conversion data in your Conversion Tracking page, and in your AdWords reports after about two days.
The steps were taken from : https://support.google.com/adwords/answer/1704341
Add the Tracking ID to the website Settings in AccuBook Extranet
Add the Analytics Tracking ID e.g. "UA-XXXXXXX" , to the appropriate field in the website settings page in the extranet.
This id can be found on the account list when logging in to analytics or by clicking on the settings 'cog' then clicking tracking code.
Once this has been added transaction values and product details will be reported in Analytics, including any advertising costs if the source was from an AdWords campaign.
Note: you do not need to add the full code supplied by Google. just add the tracking id to the website settings and the system will automatically add the necessary code.
If your website is developed by someone other than AccuBook, e.g. using wordpress...
Add the Asynchronous Analytics code to the HEAD of your pages.
If are using classic Google Analytics (ga.js)
You will need to add an extra "push command" to the code provided by Google.
The "_setAllowLinker" line needs to be added and the "_setDomainName" option should be 'none' ... your code should look similar to the following:
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXXXX-1']); // your own id will be here _gaq.push(['_setDomainName', 'none']); // set this to none _gaq.push(['_setAllowLinker', true]); // set this to allow conversion tracking on checkout pages _gaq.push(['_trackPageview']); (function () { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
If you are using Google's new Universal Analytics (analytics.js)
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-XXXXXXX-1', 'auto'); // your own id will be here
ga('send', 'pageview');
ga('require', 'linker');
// Define which domains to autoLink.
ga('linker:autoLink', ['accubook.net']);