Implementing Exponea via Google Tag Manager
We assume that you already have created a GTM container for your website. If you don’t have a container yet, create one according to the setup & installation guide.
1. Create a new tag
When you are inside your container, click on the Add a new tag button in the container homepage or click on New in the Tags subpage.
2. Choose “Custom HTML tag”
After creating a new tag you have the option to choose a product the tag will be based upon. Choose Custom HTML tag.
3. Configure Tag and click continue
4. Choose fire on All pages and click Create Tag
You can also choose to rename the tag, we decided to name it “New Exponea Tag”.
Created tags can found in the Tags section of the container.
5. Publish changes
After you have created a new tag you can see that Unpublished Changes counter incremented by one. To publish new tags you must click the Publish button and then confirm by clicking the Publish now button.
It is possible to have tracking in multiple tags. When this happens, and you have tags with exponea.track in different tags than exponea.initialize, it is important to set-up tag sequencing in order for successful track to happen.