Welcome to DistilledU, the online search marketing university.
You can try the demo or sign up for a full account to access all modules and our whole video library.
Already a member? Log in
Questions? See our FAQs
1h 50m 4.2 / 5
This module is all about customizing the Google Analytics code snippet that you place on your website.
Although Google's documentation 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. We'll be exclusively using the latest analytics.js tracking code, which is what you're given if you create a new Google Analytics account - the older ga.js tracking code is still viable, but is no longer gaining new features and will eventually be deprecated. You can read Google's upgrade guide here.
By the end of this module, you will have learnt how to:
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-1234567-8.
In the example below, replace the placeholder (UA-XXXXXXX-X) with the example code UA-1234567-8:
Locate ‘UA-XXXXXXX-X’ in the code and replace it with the example unique identifier.
Make sure the unique identifier is inside quotation marks (' ').