Webflow sync, pageviews & more.
NEW

How can I add Google AdSense to my Webflow site?

TL;DR
  • Sign up for AdSense with your custom Webflow domain and complete verification.
  • Add the AdSense code to your site's head section in Webflow Project Settings and publish.
  • Choose Auto Ads for automated placement or manually embed ad units using Webflow's Embed element.

Adding Google AdSense to your Webflow site involves verifying your site with Google, placing the ad code, and setting up ad units or Auto Ads.

1. Sign Up for a Google AdSense Account

  • Go to Google AdSense and sign up using your Google account.
  • Enter your Webflow site's domain (must be a custom domain—not a Webflow.io domain).
  • Complete any identity and content verification steps required by AdSense.

2. Get Your AdSense Code Snippet

  • Once approved, log in to your AdSense dashboard.
  • Click Sites > Add Site, if not already added.
  • Google will provide you with a verification code—a script tag that should be placed in your site’s <head> section.
  • Copy the entire code snippet.

3. Add AdSense Code to Webflow

  • Go to Project Settings in your Webflow dashboard.
  • Click the Custom Code tab.
  • Paste the code into the Head Code section.
  • Click Save Changes and then Publish your site to your custom domain.

4. Set Up Ad Units or Enable Auto Ads

  • In your AdSense dashboard, choose between:
  • Auto Ads: Google automatically places ads across your site. Enable this under Ads > By site.
  • Manual Ad Units: Create ad blocks and place them in specific parts of your site.
  • For manual placement:
  • Create an ad unit (e.g., display or in-article ad).
  • Copy the ad unit’s HTML snippet.
  • In Webflow Designer, add an Embed element where you want the ad to appear.
  • Paste the ad unit code inside the Embed element.
  • Save and publish your site.

5. Wait for Ads to Appear

  • Ads typically take a few hours to a couple of days to begin showing.
  • Make sure you are not blocking ads via browser settings or ad blockers during testing.

Summary

To add Google AdSense to your Webflow site, first verify your custom domain in AdSense, then place the provided script in your site's head section via Project Settings. Choose either Auto Ads or manual ad units, and embed them in your site using Webflow’s Embed elements.

Rate this answer

Other Webflow Questions