Notification

The Google Analytics: GA4 Configuration tag is now the Google tag. GA4 Configuration tags in a web container will be automatically migrated starting in September. There are no changes to your existing measurement and there is no action required from you. Learn more

Webflow: Set up your Google tag

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-'

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.
  1. Sign in to your Webflow account.
  2. On your 'Dashboard', find the site card that you want to edit.
  3. Click the 3-dot icon, then click Settings.
    An animation showing how to access settings using Webflow.
  4. 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>

  5. Click Save changes.

If you have a tag starting with 'G-'

  1. Sign in to your Webflow account.
  2. On your 'Dashboard', find the site card that you want to edit.
  3. Click the 3-dot icon, then click Settings.
    An animation showing how to access settings using Webflow.
  4. On the 'Settings' page, click Integrations, then enter your tag ID in the box under 'Google Analytics'.
    A screenshot showing the Google Analytics section in Webflow.
  5. Click Save changes.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
2914877538951515546
true
Search Help Centre
true
true
true
true
true
102259
false
false