- Google Tag Manager Account
- Analytics Account
In principle there are three essential elements in the tag manager: tags, triggers and variables.
A trigger is activated by certain events and then triggers tags again.
To transfer the slider events from the tag manager to Google Analytics, we need to recognize and pass the slider events. You’ll find out what’s necessary now.
2. Creating DataLayer Variables
In this step we create the DataLayer variables (DL – *) for the events in order to pass them on to Analytics later.
Click on the menu item “Variables” in the tag manager.
4. Create tag
Finally, we create the tag that is to be triggered by the gaEvent trigger and transfers the slider event to Google Analytics.
Now select the menu item “Tags on” and click on new.
Select as “Tag Type” “Google Analytics – Universal Analytics”, as “Tracking Type” “Event” and select for Category, Action, Label Value the previously created Datalayer – Variables.
5. Container Publishing
Now we publish the changes made. Click on “Send” in the upper right corner and follow the instructions.