Install Google Analytics via Google Tag Manager
Use these steps to install a standard pageview implementation of Google Analytics via Google Tag Manager:
- If you have not already done so, create a container and place the Tag Manager container code on your website.
- In Tag Manager, select Tags New and then select the Universal Analytics tag type.
- Configure your tag
- Give the tag a descriptive name, such as "GA Pageview".
- Add your Google Analytics property ID.
- Choose the Track Type. The most common type of tracking is Page View, which tracks information each time a browser loads a site page.
- Most implementations enable Display Advertising Features. This feature adds demographic data in your analytics reports and enables the ability to perform segmentation based on demographic data.
- Select firing triggers. The most common implementation is to select All Pages. This means that the Analytics tag will execute on every page of your site.
- Choose Create Tag. Now you are ready to preview, debug, and publish this tag.
This basic tag configuration enables Google Analytics to generate pageview reports. You will receive data such as the number of users visiting your site, pages viewed, time spent on the site, the bounce rate, incoming traffic sources, and goal conversions.