How Do I Add Google Tracking Code to Webflow?

Adding Google tracking code to your Webflow website is an essential step in tracking and analyzing your website’s performance. By integrating Google Analytics, you can gain valuable insights into your audience, track conversions, and make data-driven decisions to optimize your website.

Step 1: Accessing Your Google Analytics Tracking Code

The first step is to retrieve the Google Analytics tracking code that you’ll need to add to your Webflow site. Follow these steps:

  1. Sign in to your Google Analytics account.
  2. Select the Admin tab at the bottom left corner of the page.
  3. In the Property column, click on “Tracking Info” and then “Tracking Code.”
  4. Copy the entire tracking code snippet that appears on this page.

Step 2: Adding the Tracking Code in Webflow

To insert the Google Analytics tracking code into your Webflow site, follow these instructions:

  1. Login to your Webflow account and open the desired project.
  2. Select the “Project Settings” icon from the left sidebar.
  3. Navigate to the “Custom Code” tab within Project Settings.
  4. Pastethe copied Google Analytics tracking code into either “Head Code” or “Footer Code“. Placing it in “Head Code” ensures that it loads before anything else on your site, while placing it in “Footer Code” allows faster loading but may result in delayed tracking.

Step 3: Publishing Your Webflow Site

After you’ve added the tracking code, make sure to publish your Webflow site for the changes to take effect. Follow these steps:

  1. Select the “Publish” button in the top-right corner of the Webflow Designer.
  2. Choose whether you want to publish to a custom domain or a Webflow subdomain.
  3. Click on “Publish” and wait for the process to complete.
  4. Your site is now live, and Google Analytics will start tracking its data.


If you want to verify that your Google Analytics tracking code is working correctly, you can use the Real-Time reports in Google Analytics. These reports allow you to see live data as it comes in.

Congratulations! You have successfully added Google Analytics tracking code to your Webflow website.

Now, sit back, relax, and let the data flow in. Remember, analyzing this data will help you make informed decisions and improve your website’s performance!

Keep in mind that it may take some time for Google Analytics to gather meaningful data after implementation.