Skip to content

Deploying a Touchpoint via GTM

Ryan Wold edited this page Apr 21, 2021 · 7 revisions

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.

Create a Google Tag that delivers the Touchpoints form

In Touchpoints
  1. Generate a Form
  2. Edit the Form Questions as necessary
  3. If you're embedding the form on an existing website, be sure to Whitelist a production and optionally, Staging site.
  4. Copy the <script src="https://your-touchpoints-url" async></script> snippet from the Touchpoint page.
In Google Tag Manager
  1. Create an HTML Tag in your Google Tag Manager Container
  2. Add the <script> snippet to the body of the Tag.
  3. Add or modify any Triggers related to the Tag. Triggers are used to conditionally trigger a Tag.
  4. Test the Tag by putting the GTM Container in Preview Mode.
  5. See the test Responses in Touchpoints.
  6. Publish the GTM Container to deploy the survey.

Toggling a site intercept

Touchpoints does not provide site intercept functionality. But, GTM can toggle an embedded Touchpoints form with javascript.

Translating content

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.

Implementing conditional logic for questions

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]

Clone this wiki locally