Google Tag Manager is a system that can be used to track respondents' behavior in your survey, or to find out how effective an advertising been.
This guide will teach you:
1. Find your Container ID
Log in to your Google Tag Manager account or set one up here: https://www.google.com/analytics/tag-manager/. Create a new container for your Survey Anyplace surveys by selecting Create Account from the menu on the top right.
In the Container name field, enter www.s.surveyanyplace.com. Select Web for Where to Use Container and now click Create.
This will take you to a popup that provides you with the codes you need to install it on your websites.
Copy the container ID (GTM-XXXXXXX) and now it's time to head to your Survey Anyplace account.
2. Activate Google Tag Manager in your questionnaire
Within the survey to which you want to add it, click on the Extra Options tab and scroll down to Integrations. Click Google Tag Manager and toggle the button to activate it.
Now you can simply paste the container ID that you copied earlier.
Now you'll need to head back to your Google Tag Manager account to set up the tags and triggers. Tags are the labels for particular actions and the triggers are the actions that have to occur before tagging. Check out this help pages to find out create them.
To create a new tag, choose Google Ads Conversion Tracking as the tag type. You'll need to fill in the Conversion ID and conversion label.
The conversion ID and conversion label can be found in Google AdWords after setting up a conversion. See AdWords' help guide for more details.
Once you have set up the conversion, scroll down to tag setup, click Use Google Tag Manager and you'll find the conversion ID and conversion label.
To complete the trigger, create a new trigger and choose trigger type custom event. Now enter the custom event name as sa_survey_complete
If you are using AdWords, you can include Google Ads Conversion Tracking so as soon as a survey is completed, this will be recorded as a conversion. You'll find the conversion ID and conversion label in Google Ads under Tools.
You can use the preview in Google Tag Manager to check if the tag has been fired on the survey. Once the preview mode is enabled, go to your survey and it will open the Google Tag Manager at the bottom of the survey. Once you’ve clicked complete, it should show that the tag has been fired.
This is what will be shown when a trigger has been fired.