Google Tag Manager overview
Google Tag Manager (GTM) is a tool built by Google to help you add and manage code snippets on your website without needing to edit your website code directly. You can set it up quickly, and after you’ve set it up you can use it to manage your Ribbon integration on your website.
Google Tag Manager should be installed on your website before you follow this guide. If you have not yet installed Google Tag Manager you can follow this guide from Google to get it set up.
Now, in order to integrate Wondering to your website with Google Tag Manager:
- Add Ribbon tag template to your Google Tag Manager Container.
- Go to the Templates tab > Tag Templates > Search Gallery
- Search for "Wondering" - you should now see the Wondering template. Click on the Wondering template and then hit Add to workspace.
- In the Tags tab, add a new tag which uses the Ribbon template under Choose tag type.
- In the Triggering section, add the trigger you would like to use to initialise the Wondering integration. Typically this is done on page load, for example using the default Initialisation - All Pages.
- Save the tag.
- Now you have added the tag, for the integration to work, you need to publish your changes. You can do this in the top right by clicking "Submit", naming your version and clicking "Publish".
You will now successfully have Wondering integrated, and you can recruit anyone visiting your website. Further integration following the steps below will allow improved targeting with attributes and triggers.
On loading of the Wondering Tag, a "Visits any page" trigger will fire, indicating that a page was visited by the user. If users are identified using Identify and User attributes after this trigger fires, they may not be associated with this trigger. Make sure each attribute is set before the trigger loads.
In the Tags tab, add a new tag which uses the Wondering template under Choose tag type. This should use the tag’s Method "Identify". Here you are able to add a variable to the identity for your users - note that this should be unique value for each user.
In the Triggering section, you should add the Google Tag Manager trigger you would like to fire the Wondering trigger on - note that this should run on page load, before any triggers are activated.
In the Tags tab, add a new tag which uses the Wondering template under Choose tag type. This should use the tag’s Method "Trigger". Then you can simply add the Wondering trigger name in the Trigger text box.
Now in the Triggering section, add the Google Tag Manager trigger you would like to fire the Wondering trigger on.
In the Tags tab, add a new tag which uses the Wondering template under Choose tag type. This should use the tag’s Method "Attributes". Then you can add rows to the key value table shown in the tag. After you have added all the attributes close the tag configuration.
In the Triggering section below, add the Google Tag Manager trigger you would like to fire the Wondering trigger on.
Updated about 2 months ago