When we initially created a blogging website on Wix, I remember going through various blogs to check the ways to monetize the Wix website. Since then Wix wesbite builder and it's blogging platform have improved a lot and have released new features which integrate the various ad and affiliate networks.
Wix website builder is optimized for displaying the ads from the best ad network which is Google AdSense
I have been part of the various online Forums including Google and Wix where bloggers have expressed the concern that they are not able to place the Google Ads in their blogs, so I thought of writing a blog having the step by step process of placing the Google Adsense code in the Wix blogs.
You must have fulfilled the below pre-requisites before implementing the steps mentioned in this article.
1. You need to have a Google Adsense account.
2. You have verified your Wix website with Google.
3. Your Google Adsense account is already activated.
Display auto ads from Google AdSense on Wix Website
The easiest way to display the Google ads on your Wix website is to enable it for the Google auto ads. Google will then take care of placing the ad units for you on your website and you can just focus on creating the content on your website.
Login to your AdSense account.
Click on "Get code" and copy the code snippet.
Access the dashboard of your Wix website.
Click on Settings.
In advanced section, click on custom code.
Click on "Add custom code" on next page.
Paste the code in the code snippet as shown below.
Your Wix website is all set to display the Google ads. Check this article on Google Adsense help page to know more about the options and control over auto ads
Display Google Ads at specific position on Wix website
Create a new Ad unit in Google Adsense
1. Select recommended Ad unit
Go to Ads Overview in your Google Adsense account and select "BY AD UNIT" and then click on "Display ads"
2. Design the Ad Unit
You will get the below default page after clicking on "Display ads" mentioned in point 1.
Fill in the below fields for the ad unit:
Name your ad unit - I selected the name as "Wix ads blog mid" for this blog post, you can write anything relevant. Make sure create separated ad units for different positions so that you can track which unit performs well for your website.
Select ad size as Fixed from the drop-down or you can select the responsive ad size which adapts according to the device type of the user - desktop or mobile.
If you selected fixed, give the width and height of your display ad unit - check the top performing ad sizes mentioned by Google Ads
3. Copy the generated Google Adsense code snippet
Once you click on CREATE in the above screen, it will generate an automated code snippet similar to the one shown below
Click on "Copy code snippet"
Placing ad units on a specific page other than blog posts
Please note that the responsive ad units code do not work with the Wix Google Adsense app so use only fixed ad units code.
If you want to place the Google ad units on a specific page other than your blog post, for example on your home page ,on the right hand side on your post page or at the top of your website page ( see the ad at top or on right of this blog), you can use the Google AdSense app provided by Wix.
In your Wix website dashboard, click on "Edit Site".
Click on "Add apps" icon on the left and search for adsense in the Wix app market.
Click on "Add".
Click on settings and place your ad code inside the adsense app.
Placing ad units inside your Wix Blog posts
Google Adsense responsive ad units work inside the blog posts page.
Modify the Google adsense code snippet for Wix Blog post
Add the line data-page-url="https://www.<domain>.com/" in the Google Adsense code snippet manually which
For example, I have added www.blogapt.com for our website as shown below.
Place the modified Adsense code in the Wix Blog post
You are now all set to place display the Google ads in the Wix Blog post by clicking on "+" icon in the wix blog and then on "Add Html code" as shown below
Now, In HTML code, paste the modified snippet for Step 2 and click on Update
See the below Google Ad in this blog post , which I just created for you while writing this blog and all the screenshots in this Wix blog were taken while creating the below Google ad unit :)
DO NOT enable the amp version of the Wix Blog as Wix currently doesn't support the Google Adsense AMP code snippet and hence you will not be able to display the Google Ads in your Wix Blogs
Do like this post if it helped you and comment at bottom of this page for any feedback/queries.