The gtm.timerId Data Layer Variable is definitely the most useful one. Gtm.timerStartTime - The timestamp of when the Timer first started. Gtm.timerInterval - The value you set in the Interval option when creating the Timer. Each Timer you have on the page has a different ID. Gtm.timerId - A unique identifier number for the Timer. Gtm.timerEventNumber - The number of Timers that have activated on the current page (whatever you have in the Limit option is the maximum). Gtm.timerElapsedTime - The time in milliseconds since the Timer started. Gtm.timerCurrentTime - The timestamp of the most recent Timer activation. You might want to create a new Data Layer Variable for all of the following parameters: In Fire On you can fire a Tag based on some parameters of the Timer that fired. You’ll need to provide some condition which is already present when GTM is first loaded, such as Page Path equals /home-page/, or something similar. Limit: This option lets you choose how many times the Trigger fires before it is stopped.įurthermore, you can delimit the Timer to only fire on specific pages using the Enable When option. Interval: Here you specify how many milliseconds should pass between each activation of this Trigger. It’s most useful in the case where you want to fire multiple timers on the page. You specify three different fields when creating the Trigger:Įvent Name: This lets you customize the event name that GTM pushes to dataLayer. The Timer Trigger itself has a simple operation mechanism.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |