Interactive: Google Analytics Setup Training
This module is all about customizing the Google Analytics code snippet that you place on your website.
Although the Google help is generally very good once you know what you are doing, it can be daunting to beginners so the idea of this guide is to walk you through basic customization all the way up to some of the more advanced concepts.
What you will learn
By the end of this module, you will have learnt how to:
- Customize your Google Analytics code for your site
- Add a virtual pageview
- Track custom variables
- Track events
- Use the configuration API
- Add and maintain e-commerce tracking
- Set up basic cross-domain tracking
We are going to start at the very beginning. When you create …
There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.
This module is all about customizing the Google Analytics code snippet that you place on your website.
Although the Google help is generally very good once you know what you are doing, it can be daunting to beginners so the idea of this guide is to walk you through basic customization all the way up to some of the more advanced concepts.
What you will learn
By the end of this module, you will have learnt how to:
- Customize your Google Analytics code for your site
- Add a virtual pageview
- Track custom variables
- Track events
- Use the configuration API
- Add and maintain e-commerce tracking
- Set up basic cross-domain tracking
We are going to start at the very beginning. When you create a new Google Analytics account or profile, it provides you with some code. The absolute most important thing about the process is that you ensure you are using your unique identifier - which will be something like UA-123456789.
In the example below, replace the placeholder (UA-XXXXXXX-X) with the example code UA-1234567-8:
<script type="text/javascript">var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXX-X']);
_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);
})();
</script>
There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.
