Go Back

Trigger – on Time on the website

January 29, 2018

You can use time on the website triggers to fire tags base on visitors page view/session time. E.g. fire a tag after 30 seconds and only once per session.

You can choose from the following conditions:

Time on website (it’s on by default and it’s required)

Fire after a period of time elapses when visiting a website with proper hostname.
E.g. fire a tag for all piwik.pro visitors who spent on a page at least 2 minutes.

Page URL

Fire after a period of time elapses when visiting a page with proper URL.
E.g. fire a tag for all https://piwik.pro/contact/ visitors who spent on a page at least 2 minutes.

Page Path:

Fire after a period of time elapses when visiting a page with proper page path. Contains an initial ‘/’ followed by the path of the URL.
E.g. Fire a tag on all visitors who visit pages with the path which contains: /contact/ and spent on a page at least 2 minutes.

Page Hostname

Fire after a period of time elapses when visiting a website with proper hostname.
E.g. fire a tag for all piwik.pro visitors who spent on a page at least 2 minutes.

Referrer

Fire after a period of time elapses if a visitor came straight from a page with defined URL.
E.g. fire a tag for all a visitors who arrived here from the page with https://piwik.pro/contact/ URL and spent on a page at least 2 minutes.

External referrer

Fire after a period of time elapses if a visitor came to my website from website with chosen domain URL. This parameter is being ‘remembered’ during whole visitor’s session.
E.g. Fire a tag on page view if a visitor came from google.com and spent on the page at least 2 minutes.

Campaign (utm_campaign)

Fire after a period of time elapses if a visitor came to my website from my chosen campaign (base on utm_campaign parameter).
E.g. utm_campaign=my-campaign-name-01

Traffic source

Fire after a period of time elapses based on referrer type. There are five options to choose:

  • Campaign – came from Google AdWords Campaign (utm_campaign)
  • Organic search – found your website in the search engine like google.com
  • Social – came from social media apps like Facebook, Twitter etc.
  • Referral – came by clicking a link on other websites (but not search engine, campaign or social media)
  • Direct – came by entering URL in web browser.
  • Returning visitor

    Fire after a period of time elapses for a new visitor or a returning one. It’s based on Piwik PRO Tag Manager cookie.

    Variables added by a user

    You can add many conditions to one trigger. All of the conditions must be met in order to fire a tag.