Google Analytics

 
Do you want to optimize your forms, learn more about your respondents, and where they come from? With our easy-to-use Google Analytics integration, you can track the visitor behavior of any of your Tally forms.
Use this integration to:
  • Get insights into visitor behavior
  • Learn where respondents come from
  • Discover drop-off points and time spent on your form
  • Track conversions
notion image
 
The Google Analytics integration is part of Tally Pro.
 


 

Setup instructions

GA4

  1. Go to Google Analytics → Admin → Data Streams and copy the Measurement ID. It will start with “G”. If this is a new property you will need to create a new stream for "Web".
  1. Go to your Tally dashboard, open your form and go to the integrations tab. Find Google Analytics in the list and Connect.
  1. Paste the Measurement ID, click Connect and you’re done!
  1. To view the results go to Reports → Engagement → Pages and Screens.
 

Universal Google Analytics (UA)

  1. Go to Google Analytics → Admin → Property Settings and copy the Tracking ID. It will start with “UA”.
  1. Go to your Tally dashboard, open your form and go to the integrations tab. Find Google Analytics in the list and Connect.
  1. Paste the Tracking ID, click Connect and you’re done!
  1. To view the results go to Behaviour → Site Content → All Pages and search for your Tally form URL.
 
ℹ️
It can take up to 24 hours for Google Analytics to update the tracking data.
 
 

Custom Events

For every submitted form, a Google Analytics event is registered. We trigger 2 events that are displayed in your Google Analytics reports:

Page view event

  • Event Category: your Tally form URL (for example: /r/qnGpkg or /embed/qnGpkg or your custom domain page URL)
  • Event Action: Tally.FormPageView
  • Event Label: Page X (for example: page 1, page 2)

Form submit event

  • Event Category: your Tally form URL (for example: /r/qnGpkg or /embed/qnGpkg or your custom domain page URL)
  • Event Action: "Tally.FormSubmitted"
  • Event Label: the form name
ℹ️
View events in:
  • UA: go to the Behaviour → Events → Top events report.
  • GA4: go to Reports → Engagement → Events.
 
 

Tracking drop-offs

Every time a respondent navigates to the next page of your form, a Google Analytics Pageview event is triggered with the parameters:
  • Event Category: your Tally form URL
  • Event Action: "Tally.FormPageView"
  • Event Label: Page x (for example: page 1, page 2)
To track where respondents drop off, see which pages have fewer unique views.
notion image
 
 

Tracking for custom domains

The simplest way to track forms with a custom domain is to add the Google Analytics Global Site Tag tracking code to the code injection box of your custom domain.
This way you don't have to add Google Analytics for every form connected to your custom domain, but only once in the general settings of your custom domain.
 

1. Find your Global Site Tag

GA4
  • Go to Admin → Data Streams → Choose your Data Stream
  • Under Tagging Instructions, click Add new on-page tag and look for "Global Site Tag (gtag. js)". It will look something like this:
<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXX"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-XXXXXXXXX'); </script>
 
Universal Analytics
  • Sign in to your Analytics account and click Admin
  • Select an account from the menu in the ACCOUNT column
  • Select a property from the menu in the PROPERTY column
  • Under PROPERTY, click Tracking InfoTracking Code, which looks like the example below.
<!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxx-1"></script><script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-xxxxxxxxx-1'); </script>
 

2. Connect to Google Analytics

Go to your Tally dashboard → Custom Domains and open your custom domain. Scroll down and paste the Global Site Tag tracking code in the code injection box.
notion image
Click Save changes to complete the Google Analytics integration. Your form traffic will now be visible in Google Analytics.
Help