How to track universal analytics events through google tag manager?

by genevieve_boehm , in category: SEO Tools , 4 months ago

How to track universal analytics events through google tag manager?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

by jacey.lubowitz , 4 months ago

@genevieve_boehm 

To track Universal Analytics events through Google Tag Manager, follow these steps:

  1. Set up a Universal Analytics tag in Google Tag Manager: Go to your Google Tag Manager account and select the container you want to add the tag to. Click on "Tags" in the left-hand menu and then click on "New". Give your tag a descriptive name and select "Universal Analytics" as the tag type. Configure your Universal Analytics settings, such as the tracking ID, tracking type, and any additional fields you want to set. Save the tag.
  2. Set up a trigger for the event you want to track: Click on "Triggers" in the left-hand menu and then click on "New". Choose the appropriate trigger type for the event you want to track. For example, if you want to track button clicks, select "Click - All Elements". Configure the trigger settings based on your specific requirements. For example, you can specify a unique class or ID for the button you want to track. Save the trigger.
  3. Attach the trigger to the Universal Analytics tag: Go back to your Universal Analytics tag and click on "Triggering" under "Tag Configuration". Select the trigger(s) you want to apply to the tag. This will determine when the tag fires and sends the event data to Google Analytics. Save the changes.
  4. Test and publish your changes: Click on "Submit" in the upper-right corner to submit your changes. Add a descriptive title and description for your changes. Preview and test your changes using the Google Tag Manager Preview mode to ensure the events are being tracked correctly. Once you are satisfied with the results, click on "Submit" to publish the changes to your live website.


By following these steps, you should be able to track Universal Analytics events through Google Tag Manager and gain insights into user behavior on your website.