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:
- Go to Menu > Tag Manager.
- Navigate to Settings.
- On the left, click Import.
- In Import settings from another site or app, choose a site or app from which you want to copy all tags, triggers and variables.
- Choose one of the options: Import last published snapshot or Import draft.
- 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:
- Go to Menu > Tag Manager.
- Navigate to Tags, Triggers, or Variables.
- On the left, click a tag, trigger, or variable that you want to work with.
- Click Copy.
- Check Copy tag to another site or app and choose a site or app to which you want to copy.
- Optionally, when you’re copying a tag, you can choose: Copy all associated triggers and variables.
- Click OK.
- 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 snapshot from a changelog
To copy a snapshot from a changelog, follow these steps:
- Go to Menu > Tag Manager.
- Navigate to Changelog.
- On the left, click on the snapshot that you want to copy.
- Click Export settings to file.
- The snapshot will be exported to a JSON file and saved on your hard drive.
- Go to the site or app to which you want to copy the snapshot.
- Navigate to Settings.
- In Import settings from file, click Add file.
- 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.