Timer trigger

Google Tag Manager's timer trigger allows you send events to Tag Manager at timed intervals. Use this trigger to measure the amount of time a user spends on a page to complete a task (e.g. read an article, fill out a form, or complete a purchase.)

To create a new timer trigger:

  1. Click Triggers and then New.
  2. Click Trigger Configuration and choose the Timer trigger type.
  3. The default value for Event Name is gtm.timer. This value specifies the name of the event as it is passed to Tag Manager. The default value is gtm.timer, and in most cases there is no need to modify this value. You can optionally use this event name to create a custom event trigger. For example: Specify an Event Name of “timer5” and then create another custom event trigger where the condition is "event equals timer5".
  4. Add an Interval in milliseconds. The trigger will fire at the specified interval (e.g. every 5000 milliseconds.)
  5. Add a Limit value to specify the maximum number of times the trigger will fire. Leave this blank to have the trigger fire events until the user leaves the page.
  6. In the "Enable this trigger when all of these conditions are true" section, specify a variable, operator, and value. This step will ensure that the trigger listener is enabled only when necessary, to help improve overall website performance.
  7. Save the trigger and publish the container.
Was this helpful?
How can we improve it?