Chapter 09

How to copy tags between sites and apps

By Anna Tomalik

So far, we’ve shown you many of the nooks and crannies in Tag Manager. This knowledge is a good starting point for working with our product. In the last step, we’d like to show you how to copy tags between sites and apps. You’ll surely need it.

You can copy your tags in a few ways: (1) copy all tags, triggers and variables; (2) copy a single tag, trigger or variable; (3) copy a snapshot from a changelog. Let’s look at each method.

Copy all tags, triggers and variables

To copy all tags, triggers and variables from one site or app to another, follow these steps:

  1. Go to Menu > Tag Manager.
  2. Navigate to Settings.
  3. On the left, click Import.
  4. In Import settings from another site or app, choose a site or app from which you want to copy all tags, triggers and variables.
    Import tags in Piwik PRO
  5. Choose one of the options: Import last published snapshot or Import draft.
    Import tags in Piwik PRO
  6. Click Import.

    Note: All imported tags, triggers and variables will overwrite your current ones and will be saved as a draft.

Copy a single tag, trigger or variable

To copy a single tag, trigger or variable from one site or app to another, follow these steps:

  1. Go to Menu > Tag Manager.
  2. Navigate to Tags, Triggers, or Variables.
  3. On the left, click a tag, trigger, or variable that you want to work with.
  4. Click Copy.
    Copy a tag in Piwik PRO
  5. Check Copy tag to another site or app and choose a site or app to which you want to copy.
    Copy a tag in Piwik PRO
  6. Optionally, when you’re copying a tag, you can choose: Copy all associated triggers and variables.
    Copy a tag in Piwik PRO
  7. Click OK.
  8. Navigate the site or app where you copied the tag, trigger or variable. The copied tag, trigger or variable will appear on the list as unpublished.
    Copy a tag in Piwik PRO

Copy a snapshot from a changelog

To copy a snapshot from a changelog, follow these steps:

  1. Go to Menu > Tag Manager.
  2. Navigate to Changelog.
  3. On the left, click on the snapshot that you want to copy.
  4. Click Export settings to file.
    Copy tags in Piwik PRO
  5. The snapshot will be exported to a JSON file and saved on your hard drive.
  6. Go to the site or app to which you want to copy the snapshot.
  7. Navigate to Settings.
  8. In Import settings from file, click Add file.
    Copy tags in Piwik PRO
  9. Add the file from your hard drive and click OK.

    Note: All imported tags, triggers and variables will overwrite your current ones and will be saved as a draft.