Page view trigger

A page view trigger fires a tag on a page view, DOM ready, or page load. By default, the tag fires on all pages, but you can adjust its conditions so that the tag fires for a certain page.

A page view trigger in Tag Manager.

You can choose from the following conditions:

  • Page URL: Fires when a visitor views a page with the chosen URL. For example, a visitor views https://clearbank.com/product-tour.
  • Page path: Fires when a visitor views a page with the chosen page path. For example, a visitor views /product-tour.
  • Page hostname: Fires when a visitor views a page on a website with the chosen hostname. For example, a visitor views a page for clearbank.com.
  • Referrer: Fires when a visitor views a page to which they were referred by the chosen referrer. For example, a visitor comes from https://clearbank.com/blog to any page on your website.
  • External referrer: Fires when a visitor views a 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.
  • Campaign: Fires when a visitor views a page to which they were referred by the chosen campaign (based on a utm_campaign parameter).
  • Traffic source: Fires when a visitor views a page to which they came from the chosen traffic source: campaignorganic searchsocialreferraldirect.
  • Returning visitor: Fires when a returning visitor views a page (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.

Note: The page view trigger works only for synchronous tags.

Was this article helpful?

of people found this helpful

Technical Support

If you have any questions, drop us a line at support_SPC@piwik_SPC.pro.

We’re happy to help!