Create a trigger

Tag Manager

Needed permissions: owner, manage, edit & publish or edit

Each tag needs a trigger that will tell the tag when and where to fire. For example, you may want to run a tag with a pop-up after a visitor left a contact page. In this article, we’ll explain how to create a trigger and set up its conditions.

There are two ways to create a trigger — while setting up a tag or in the trigger section.

To create a trigger, follow these steps:

Trigger section

  1. Go to Menu > Tag Manager.
  2. Navigate to Triggers.
  3. Click Add a trigger.

While creating a tag

  1. Go to Menu > Tag Manager.
  2. Navigate to Tags.
  3. Click on the tag you want to work with.
  4. In Tag triggers, click Add a trigger.

    Then the process is the same for both cases

  5. Name the trigger.
  6. In Event type, choose a type. For example, Page view.
    Create a trigger in Tag Manager in Piwik PRO

    Tip: Each trigger type is described in this section.

  7. Click Next.
  8. Set up a trigger. For example, in a page view trigger decide when to load the tag.
    Page view trigger in Piwik PRO
  9. In Event conditions, define conditions for the trigger. For example, Page URL contains blog.
    Event conditions in Piwik PRO

    Tip: Each trigger has a different set of conditions. You can learn more about each condition in this article.

  10. Available below 16.0.0 In Audiences, pick an audience for which you want to display the trigger. For example, we’ve got an audience Apple product users and we want to run our tag only for visitors from this audience.
    Create a trigger in Tag Manager in Piwik PRO

    Tip: For more about audiences, read this article.

  11. In Multiplicity, set how often the tag should be fired. For example, Many times during a session.
    Multiplicity in Piwik PRO
  12. When you’re done, click OK.
  13. If you’re setting up a trigger while creating a tag, click Save for the tag.
  14. If you’re setting up a trigger in a trigger section, after creating a trigger you can add it to the tag.

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