Google Analytics and tracking

Related to:

You can easily add your Google Analytics tracking code to any of your typeforms, in order to track visitor behavior and demographics.

The steps to follow are:

1. On your Google Analytics home page, select the account you want to integrate your typeform with and copy the property ID behind the name/URL of that account. It takes the form UA-XXXXX-Y or UA-XXXXX-YY.

2. Open your Workspace, load up the typeform you want to track, and click the Connect panel.

You’ll see Add a Google Analytics tracking code to your typeform. Click Connect.

3. A new window will appear. Paste your Google Analytics tracking code here, and click Save.

4. Open your typeform a couple of times, and answer your questions.

5. Open your Google Analytics account where you are tracking the typeform.

6. Go to the Behavior panel, select Site Content, then click on All Pages.

7. Get your typeform’s URL and copy its ID. It’s the last string of characters in the URL, after the last “/”, and should be something similar to “xxXxXX”.

8. Search for the typeform ID in the search box for the All Pages report.

google_analytics

Please also note that embedded typeforms with the same tracking code as their hosting webpage will be counted twice (one count for both the form and the website for each visit will appear in your Google Analytics metrics under two different URLs).

If you use Hidden Fields in your typeform, the ID is the string between the last “/” and the “?” character.

Tracking conversions

On every submit of your typeforms we also send a Google Analytics event with the following parameters:

  • Category for your typeform’s UID
  • Action for “TypeformSubmit”
  • Label for the name of your typeform

You can find all the typeform submissions in Google Analytics in the Behavior > Events > Top events report.

Tracking conversions

To see how to use this event to set up Goals (for easier use in other reports, like conversion tracking), please refer to this Google Analytics help article.

Tracking drop-off

Each time your respondent answers a question, we trigger a Google Analytics event with the following parameters:

  • Category for your typeform’s UID
  • Action for “TypeformQuestionPassed”
  • Label for the question title

You can find all your typeform’s “Questions Passed” events in Google Analytics under Behavior > Events > Top Events report. If you want to figure out where respondents drop off, click on “Unique Events” to see which question has the fewest answers. Take note: statement fields are not tracked!

Google Analytics and tracking 03

This is a great way to track points where respondents drop off. Then you can revise your questions to try to improve your typeform’s completion rate. Remember these 4 steps to an awesome typeform!