Google Analytics Tracking tag

The Google Analytics Tracking tag lets you instal a tracking code for Google Analytics. With Tag Manager, you can set it up in a hassle-free way.

Before you set up the tag, you need to find the the tracking ID in Google Analytics. To find it, follow these steps:

  1. Go to Google Analytics.
  2. Click Admin.
  3. Select an account from the menu in the account column.
  4. Select a property from the menu in the property column.
  5. Under property, click Tracking info > Tracking code.
  6. Copy the tracking ID — it’s displayed at the top of the page.

To set up a Google Analytics Tracking tag, follow these steps:

  1. Go to Menu > Tag Manager.
  2. Navigate to Tags.
  3. Click + Create new tag.
  4. Name the tag and select the Google Analytics Tracking tag.
  5. Paste the tracking ID.
  6. Google Analytics tracking tag in Tag Manager.
  7. In Google Optimize setup, you can toggle Enable Google Optimize and set proper elements.
  8. Enable Google optimize in a Google Analytics tracking tag.
  9. In Advanced tag settings, set the tag type. By default, it’s set to be displayed to visitors who consent to Analytics, but you can change it to a different type.
  10. By default, the Respect visitor privacy is turned on. Leave it as is, if you want to respect visitors who set a do-not-track option in their browser.
  11. In Flight dates, set time during which you want to run the tag.
  12. In Tag triggers, click + New trigger or + Existing trigger to set up a trigger for your tag.
  13. Adjust trigger conditions.
  14. When you’re done, click Save for the trigger and click Save for the tag.
  15. Test your tag in debug mode.
  16. When you’re happy how the tag works, click Publish.
Was this article helpful?

Be the first to rate this article.

Technical Support

If you have any questions, drop us a line at support_SPC@piwik_SPC.pro.

We’re happy to help!