top of page

The Essential Guide to Blogging

The Essential Guide to Blogging

Learn how to write, design and promote your posts. Get SEO tips, social media recommendations and more.

Wix Blog Updates

Learn about brand new features

Add Google AdSense Ads to Posts

I’m excited to share how you can add Google AdSense ads to blog posts!


If you’re new to Google AdSense and want to get started, we created a step-by-step guide on how to get started: https://support.wix.com/en/article/adding-google-adsense-ads-to-blog-posts-in-the-new-wix-blog


If you’re an existing Google AdSense user, here’s how to add AdSense to your blog posts:

  • Copy the AdSense ad code to an external text editor

  • Add the following parameter to the code data-page-url="https://www.website-domain.com/"

  • The result should look like this:

<script async src=“https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js“></script>
<ins class="adsbygoogle"
    data-page-url="https://www.website-domain.com/"
    style="display:block"
    data-ad-client="ca-pub-xxxxxxxxxxxxxxxx"
    data-ad-slot="xxxxxxxxxx"
    data-ad-format="auto"
    data-full-width-responsive="true"></ins>
<script>
    (adsbygoogle = window.adsbygoogle || []).push({});
</script>
  • While editing a post on Wix, click on the HTML </> icon at the bottom of the page

  • Click the Add HTML or URL icon, then select HTML Code

  • Paste the AdSense code there and save


Let us know what you think in a comment below!

Comments


bottom of page