-
Notifications
You must be signed in to change notification settings - Fork 25
Deploying a Touchpoint via GTM
The origin of Touchpoints was a tool called Recruiter. Recruiter leveraged Google Tag Manager (GTM), Google Forms, and Google Sheets to provide user-research signup forms.
Leveraging GTM makes a lot of sense in the US federal domain, given GTM is often used to deploy DAP (Digital Analytics Program).
The purpose of this page is to document how GTM is used with Touchpoints to extend functionality.
This assumes you have already deployed the Google Tag Manager container code to your web service.
- Generate a Form
- Edit the Form Questions as necessary
- If you're embedding the form on an existing website, be sure to Whitelist a production and optionally, Staging site.
- Copy the
<script src="https://your-touchpoints-url" async></script>
snippet from the Touchpoint page.
- Create an HTML Tag in your Google Tag Manager Container
- Add the
<script>
snippet to the body of the Tag. - Add or modify any Triggers related to the Tag. Triggers are used to conditionally trigger a Tag.
- Test the Tag by putting the GTM Container in Preview Mode.
- See the test Responses in Touchpoints.
- Publish the GTM Container to deploy the survey.
Touchpoints does not provide site intercept functionality. But, GTM can toggle an embedded Touchpoints form with javascript.
GTM can translate specific content (such as question text); on page load.
Note: each federal agency is responsible for providing their own, approved translated text.
Touchpoints does not support conditional logic. But, conditional logic can be implemented to some extent by hiding showing form questions, as seen in this example (see the "Was this page useful?" form at the bottom of the page).
any questions at all, contact [email protected]