This tutorial is a step-by-step guide on how to implement conversion tracking through Google Tag Manager and Facebook pixel for your Tally forms.

<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c682c280-59c8-4106-bc71-457a75254174/CleanShot_2023-07-10_at_11.25.01.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c682c280-59c8-4106-bc71-457a75254174/CleanShot_2023-07-10_at_11.25.01.png" width="40px" /> This guide was created by Digital Growth Marketeer Maarten van den Bossche

</aside>



How does it work

<aside> 🍪 Before you start: Google Tag Manager gives you the ability to drop cookies and other types of tracking. Please be mindful of any Privacy regulations (such as GDPR) when doing so.

</aside>

Step 1: Installing Google Tag Manager with the Code Injection box

Make sure you have your Google Tag Manager account ready. If you don’t have one yet, you should create one.

  1. Go to your Google Tag Manager container and select Admin → Install Google Tag Manager. You will be shown two pieces of code.
  2. Go to Tally → Custom domains and select the custom domain you want to use. Scroll down to the Code injection field.
  3. There, paste the two pieces of code you found in step one and press Save Changes.

It should look like this with your Container ID instead of the GTM-XXXXXXX. 👇🏻

Screenshot 2023-06-21 at 15.02.50.png

<aside> ⚠️ The Google Tag Manager setup will only work if you also have the Google Analytics integration active. ****If you don’t want to use the integration for tracking, you can just put in a random Measurement ID like G-XXXXXXXXXX.

</aside>

Step 2: Create Triggers in Google Tag Manager

If you have activated the Google Analytics integration, Tally will send custom events to Google Tag Manager. We need to make Triggers out of those events so we can use them.