You can measure behavioral data about your site with Google Ads and Google Analytics. Follow the steps in this article to set up a tag for your Google Ads or Google Analytics account. Learn more about Installing your tag with a website builder or CMS.
The instructions for setting up the Google tag are different for tag IDs starting with "AW-" (usually, Google Ads accounts) and tag IDs starting with "G-" (usually, Google Analytics properties). Follow the instructions below that correspond with your tag.
Before you begin
You’ll need to have your Google tag ID.
If you have a tag starting with "AW-"
Note: If you’d like to set up your Google tag using this method, a paid Site plan is required. Learn more About Webflow plans and prices.
- Sign in to your Webflow account.
- On your “Dashboard”, find the site card 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 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.