Page view trigger

Tag Manager

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 Piwik PRO

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: For asynchronous tags, a page view trigger fires a tag on a page view, DOM ready, or page load. For synchronous tags, it fires a tag only on a page view.

Was this article helpful?

Technical support

If you still have some questions, visit our community.
There’s always someone ready to help!

Back to help center