You can measure behavioural data about your site with Google Analytics and Google Ads. Follow the steps in this article to set up your Google Analytics and Google Ads accounts with Webflow.
Before you begin
You’ll need to have your Google tag ID.
The instructions for setting up the Google tag with Webflow are different for tag IDs starting with 'AW-' (usually, Google Ads accounts) and tag IDs starting with 'G-' (usually, Google Analytics properties).
If you have a tag starting with 'AW-'
- Sign in to your Webflow account.
- On your 'Dashboard', find the site card that you want to edit.
- Click the 3-dot icon, then click Settings.
- Under the 'Custom code' tab, add your Google tag in the 'Head' code section.
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=TAG_ID"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'TAG_ID');
</script>
- Click Save changes.
If you have a tag starting with 'G-'
- Sign in to your Webflow account.
- On your 'Dashboard', find the site card that you want to edit.
- Click the 3-dot icon, then click Settings.
- On the 'Settings' page, click Integrations, then enter your tag ID in the box under 'Google Analytics'.
- Click Save changes.