본문 바로가기

Marketing and SEO/Google Tag Manager

GTM Container export/import

반응형

Google Tag Manager has a feature to export and import items from one another. This feature is especially great when you have websites with a similar (or the same) structure as you can export items such as tags and triggers created in one container to another. Let's how it is used.

Implementation

First, we have to export items from a container.

Export

Log in to the account -> 'Admin' -> 'Export Container' under the container menu

Select 'Default workspace'

Check or uncheck the item to export Then click 'Export' (If a tag is using a certain trigger, the trigger must be checked to export the tag).

When completed you will see '.json' file downloaded

Import

Log in to another account (or in the same account) -> 'Admin' -> 'Import Container' under the container menu

Click 'Choose container file' to upload the Json file we exported in the previous step.

Select workspace. If the container to which items are exported already exists, select 'Existing'.

Then 'Default Workspace' (If you chose 'New' from the above step, just click 'save' to create one).

Select the export option then click 'Confirm'

▶ Overwrite: Everything in the container that imports from another container will be overwritten by the exported items.

Merge: Items in both containers will remain but if there is a conflict between them the item in the importing container will be overwritten or renamed (You can choose)

When completed you will see imported data

Before imported

We have seen how to export and import items from one container to another in this writing.

 

728x90
반응형