Track your forms in 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. Google Analytics tracking is part of Tally Pro.

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

Enable Google Analytics

Simply activate the integration by inserting your Google Analytics tracking ID, and get access to your form data in Google Analytics.

1. Find your tracking ID

Start by finding your Google Analytics tracking ID. The ID has the following format: UA-XXXXX-Y or UA-XXXXX-YY.

  • 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 Info β†’ Tracking Code. Your Tracking ID is displayed at the top of the page
  • Copy the Tracking Code

2. Connect to Google Analytics

Go to your Tally dashboard, open your form and open the Integrations tab. Find Google Analytics in the integrations list and click Connect.

GA1

Past the Google Analytics Tracking ID and Connect.
GA2

Your form is now fully integrated with Google Analytics, and you can see all visitor behavior in your Google Analytics dashboard.

3. View the results

Open Google Analytics and go to the Behavior tab. Select Site Content and choose All Pages. Search for your Tally form URL. It contains a unique string of characters after the "/r/" in the URL.

Custom Events

For every submitted form, a Google Analytics event is registered. To see the events go to the Behavior tab β†’ Events β†’ Top events report.

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

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.

Tracking for custom domains

The simplest way to track forms with a custom domain is to add the Google Analytics code snippet to the general settings 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.

Find your tracking code

Start by finding the tracking code snippet for your property.

  • 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 Info β†’ Tracking 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>

Connect to Google Analytics

Go to your Tally dashboard β†’ Custom Domains and open your custom domain.
Scroll down and paste the Google Analytics tracking code in the code injection box.

Click Save changes to complete the Google Analytics integration. Your form traffic will now be visible in Google Analytics.

Questions?

Want to know more about adding Google Analytics to your Tally forms? Don't hesitate to reach out via hello@tally.so or feel free to join our Slack channel for immediate support.