The script which triggers the tracking events to Google must be loaded once (and only once) on every page of your site.

To set up Google Analytics tracking, you’ll usually need either your Analytics tracking ID or the entire Javascript tracking code snippet. This corresponds to your Analytics property. To find the tracking ID and code snippet:

  1. Sign in to your Analytics account.
  2. Select the Admin tab.
  3. Select an account from the drop-down menu in the ACCOUNT column.
  4. Select a property from the drop-down menu in the PROPERTY column.
  5. Under PROPERTY, click Tracking Info > Tracking Code.

The snippet provided here must be implemented on every page, even the pages you are not interested in. If you chose to not include the code on every page then:

  • you will not be able to see the full flow of a client on your website
  • you will have inaccurate data about the time spent on site and actions taken
  • visits to untracked pages will appear as ‘referrals’ and so will skew the volume of sessions
  • marketing campaigns to the untracked pages will be lost

The easy way for an established website to see if the tracking is complete is to go in Google Analytics -> Acquisition -> Referrals and search in the report after the name of your website, as shown below, or you can use Littledata’s audit tool.

Test if GA is on every page

Choose how to set up tracking

There are several ways to collect data in Analytics, depending on whether you want to track a website, an app, or other Internet-connected devices. Select the best installation method for what you wish to track. Here is the complete guide from Google.

Once you have successfully installed Analytics tracking, it may take up to 24 hours for data such as traffic referral information, user characteristics, and browsing information to appear in your reports. However, you can check your web tracking code setup immediately.

If you don’t think it’s working correctly Check your Real-Time reports or use Use Google Tag Assistant to verify your setup.

 

Get Social! Follow us on LinkedIn, Twitter, and Facebook and keep up-to-date with our Google Analytics insights.
mm
Alexandra

Previously led retail and digital marketing for LEGO Certified Stores and PANDORA. She’s experienced in PPC, affiliate, e-commerce, travel and news websites. She has a Master's degree in economic analysis.

View all posts