Copying a trigger in Matomo Tag Manager is a quick and efficient way to replicate tracking setups across different containers or websites. Learn more about copying a Matomo Tag Manager container and its components.

Note: Superusers and users with the appropriate Tag Manager write and custom template capabilities can copy triggers.

  1. Open Matomo > Tag Manager.
  2. Navigate to Manage Containers and open the container that holds the trigger you want to copy.
  3. Go to Triggers and click the Copy icon next to the relevant trigger.
    copy a trigger in matomo tag manager
  4. By default, the trigger configuration will be duplicated to the same website and container as the original trigger.
  5. You can change this by selecting a different website and/or destination container.
  6. Click Copy to create the new trigger.

New Trigger Configuration

  • If the trigger references variables, Matomo Tag Manager will attempt to reuse existing variables in the destination container.
  • If no matching variables are found, the referenced variables will also be copied to the destination container.

Example:

  • Copying a trigger within the same container will only duplicate the trigger.
  • Copying it to a new or empty container will copy the trigger along with any required variables.

Available from Matomo version 5.2.0

Previous FAQ: Manage triggers in Matomo Tag Manager