Google Tag Manager is a free tool that allows you to add or change tracking on a website or application without needing to rely on development resources. Now, you can also use it with typeforms.
What you need:
- A Professional Typeform account
- A Google Tag Manager account
What is Google Tag Manager?
This is a free application that manages various tracking tools, primarily designed for professional marketers. Instead of having to add tracking tools to your website one by one, which means changing code, you can install Google Tag Manager once, and then add any tracking tools you like to it.
You can use it to set up tracking for all your sources of traffic, including:
- Google Adwords
- LinkedIn Sponsored Ads
- Bing Ads
- Twitter Ads
How to add Google Tag Manager to your typeforms
Open Tag Manager, and copy your Google Tag Manager Container ID to your clipboard (Ctrl+C). Here’s where you’ll find that ID:
Open your Typeform Workspace, and find the typeform you want to track. Click to edit it.
Click on the Connect tab. Now you’ll see the Google Tag Manager integration. Click Connect.
A new window will appear, asking you to paste in your Google Tag Manager Container ID. Tap CTRL+P (or cmd+P on a Mac) on your keyboard to do this.
Click Save, and you’re now ready to track using Tag Manager.
If you want to remove tracking, you can click the Remove button on the Integrate panel:
Warning! Please note that it is currently not possible to use Google Tag Manager if you have a Payment field in your typeform.
Set up Google Tags for tracking your Typeform
Simply adding Tag Manager to your typeform won’t do anything until you’ve set it up. Here’s a simple example of the process – adding Facebook Pixel to Tag manager. For more on setting up Tag Manager, see Google’s documentation.
To create a tag, click Add a new tag:
Now a configuration menu will appear:
Click anywhere on Tag Configuration to bring up the tag type menu. You can choose from all kinds of Google products, including Analytics, plus a ton of ready-made tags for other tracking software.
Facebook Pixel is not included, so we need to choose Custom HTML.
Now grab your Facebook Pixel code from the Events Manager in Facebook (here’s where to find it). Paste this code into the configuration field, as shown below, and then it’s time to set up your triggers.
Click the Triggering field to open up the Choose a trigger menu. We’ll go for Page View as an example. Click that to be taken back to the tag configuration interface.
Now hit Save. Pixel is now included in Tag Manager, so you’ll be able to track your typeform’s page views (in this example) from Facebook Events Manager.
The events tracked are the following: “TypeformFirstInteraction” when the user activates a block, answers a commit or clicks the welcome screen and “TypeformSubmit” when the request to the submission is valid.