Time on a website trigger

A time on a website trigger fires the tag when a visitor is on the website or page for a certain amount of time. By default, the tag fires on all pages, but you can adjust its conditions so that the tag fires for a certain page.

A time on a website trigger in Tag Manager.

You can choose from the following conditions:

  • Time on website: Fires when a visitor is on the website or page for a certain amount of time. For example, fires a tag when a visitor spends at least 15 seconds on a page or website.
  • Page URL: Fires when a visitor is, for a certain amount of time, on the website or page with the chosen page URL. For example, a visitor is on https://clearbank.com/product-tour for at least 15 seconds.
  • Page path: Fires when a visitor is, for a certain amount of time, on the website or page with the chosen page path. For example, a visitor is on /product-tour for at least 15 seconds.
  • Page hostname: Fires when a visitor is, for a certain amount of time, on the website or page with the chosen hostname. For example, a visitor is on any page for clearbank.com for at least 15 seconds.
  • Referrer: Fires when a visitor is, for a certain amount of time, on the website or page to which they were referred by the chosen referrer. For example, a visitor comes from https://clearbank.com/blog to any page and spends at least 15 seconds.
  • External referrer: Fires when a visitor is, for a certain amount of time, on the website or page, to which they were referred by the chosen external referrer. For example, a visitor comes from https://medium to any page on your website and spends at least 15 seconds.
  • Campaign: Fires when a visitor is, for a certain amount of time, on the website or page to which they were referred by the chosen campaign, (based on a utm_campaign parameter).
  • Traffic source: Fires when a visitor is, for a certain amount of time, on the website or page to which they came from the chosen traffic source: campaign, organic search, social, referral, direct.
  • Returning visitor: Fires when a returning visitor is on the website or page for a certain amount of time (this mechanism is based on the Piwik PRO Tag Manager cookie).
  • Variables: Any added variable will show up on the list of conditions and you can use it to define trigger conditions.
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!