Embed a typeform on your website and track completion statistics in Google Analytics
If you've embedded a typeform in your website, you can now track all actions taken by user across the typeform as a single record, and see all activity under one user profile. As long as the embedded typeform has the same tracking code as your hosting webpage, you are good to go.
Good news: you can segment different events in your Google Analytics metrics too .
For example, one visit in Google Analytics can be segmented as follows:
- a visitor clicked on a Typeform ad in Google,
- they visited the Products, Integrations and Contact pages,
- they filled out a typeform and submitted their name, email, company name and address,
- and finally, they visited the Pricing page.
__What you need:__
- A Business or Enterprise Typeform account
- A Google Analytics account
- An Google Analytics tracking code to add to your typeform
A few notes before you get started:
- Just a friendly reminder that you'll need a Google Analytics account to get started. If you want to sign up for a Google Analytics account you can do so [here](https://analytics.google.com/ "Sign up for Google Analytics")
- You'll need to publish your typeform first in order for this integration to work
- If you want to learn how to embed your typeform in a webpage, [this article](https://help.typeform.com/hc/en-us/articles/360029249212-Embed-your-typeform "How to embed your typeform") will give you all the tips and tricks to getting started
To learn how to seamlessly connect Google Analytics to your embedded typeform, [follow the step-by-step instructions in this Help Center article](https://help.typeform.com/hc/en-us/articles/360029251312-Google-Analytics-and-tracking "Integrating your Typeform and Google Analytics accounts").