⟵ Back to Blogging on Shopify

Integrate Google AdSense in Shopify Blog: The Ultimate 2024 Guide

Published on Feb 06, 2024

|

Updated on Feb 08, 2024

Julien Mamalian

CEO, Bloggle

Introduction

For Shopify blog owners, integrating Google AdSense presents a lucrative opportunity to generate revenue through targeted ads. This comprehensive guide, brought to you by the creators of Bloggle, a leading Shopify blog builder, offers a step-by-step tutorial on seamlessly adding Google AdSense code to your Shopify blog. Whether you're a seasoned e-commerce professional or a beginner to the digital marketplace, our instructions will help you unlock new revenue streams and enhance your Shopify website's functionality.

Why trust us

  • We're the creators of Bloggle, a dynamic Shopify blog builder available on the Shopify App Store that fills the gaps in native Shopify blogging capabilities.
  • We're a global force: 2000+ merchants across 60 countries have trusted us to amplify their voices.
  • Your peers adore us: We have a stellar 4.9/5 rating on the app store.
  • We've already empowered 55,000+ blogs written using our versatile app.
  • Under our guidance, users have reported up to a 10x boost in Search Engine Optimization (SEO) traffic and revenue.

Creating your Google AdSense Account

Before you can start monetizing your Shopify blog, you need to first sign up for an AdSense account. Here’s how you do it:

Google AdSense signup
  • After setting up a Google AdSense account and Google Merchant center, Shopify store owners can specify the site URL and language. Alternatively, store owners can connect to a certain page (like the homepage), post, or directory. To conclude this step, click Save.
  • To proceed, shop owners can add contact information, particularly bank account details. Once this is done, just submit your application.
Submit your application
  • Tick the checkbox to accept Google AdSense's Terms and Conditions and Program Policies.
  • You can verify the phone number by sending a text message or opting for a callback.

verify the phone number
  • Copy the Google AdSense verification code.
Copy the Google AdSense verification code
  • Finally, just paste the code into your Shopify blog and then tick the ‘I’ve pasted the code into my site’ checkbox. 
  • Click Done

Pasting Google AdSense Code (Tutorial)

Let us understand how to add Google AdSense code to our Shopify blog. To do this, you have to edit 3 files – article.liquid , blog-template.liquid, and sidebar-blog.liquid:

Via Shopify

Step 1

From your Shopify dashboard, go to to the Shopify theme you want to customize, and from the the drop-down menu, click on ‘Edit Code’

Step 2

The following screenshot will tell you where exactly you need to place the ad code in the article.liquid file, so that the ad shows on top and bottom of the blog article properly

Step 3

Hit Save when done

Pro Tip: In case you wish to display the AdSense ad on the article listing page's blog category page, you must include the code in the blog-template.liquid file.

Additionally, if you are looking to place the AdSense ad code on your blog sidebar pages only, you need to edit sidebar-blog.liquid. Check the screenshot for where you need to insert the code.

Via Bloggle

Step 1

From your Bloggle dashboard, select the article in which you want to insert your Google AdSense code

Step 2

In the Content tab, click on ‘+Add Content’

Step 3

In the ‘Other’ section, click on ‘Embed Code’

Step 4

Paste the Google AdSense code into the ‘HTML code’ field and hit Save. You are now ready to make money from your Shopify blog through Google ads.

Did You Know: Along with monetizing your blog, Bloggle lets you manage every small aspect of your Shopify blog. From adding products and inserting videos to adding a Table of Contents, sidebar, comments section, tags, social share buttons, and more, we have you covered. 

Conclusion

In conclusion, adding Google AdSense to your Shopify blog is a straightforward yet impactful step towards monetizing your online store. Having read our easy-to-follow guide, you're now equipped to seamlessly integrate AdSense into your blog, whether through Shopify's native editing options or the intuitive Bloggle dashboard. Embrace this opportunity to enhance your blog's earning potential and drive meaningful revenue. Remember, the journey to successful blog monetization is continuous, and Bloggle is here to support you every step of the way.

FAQs

Can you easily create ad units on AdSense?

Yes, ad unit creation i can be done easily. The steps are given above.

Can I integrate Google Analytics with AdSense?

Yes. Learn how to set up GA here

How do I Use Google Shopping Ads with a Shopify store?

You can refer to the guide here.

What are some things I need to keep in mind while using Google ads?

You need to think about AdSense approval for your ad from your Google Adwords account, what kind of high quality different ads you want to make (display ads, video ads, Facebook ads), the pricing models (cost per click, CPM etc.)

How do I add ads.txt as a Shopify developer?

You can refer to this guide.

Julien Mamalian

CEO, Bloggle

After an exciting 5 years of designing and optimizing Shopify sites for well-known French startups, I launched Bloggle. Our mission? To assist merchants worldwide in crafting compelling articles that rank high in SEO and truly engage their audience. In just 3 years, over 2,000 clients have trusted us, publishing more than 55,000 articles through Bloggle. Thanks to them, I’ve learned the keys to success and the pitfalls to avoid

4.9/5
Drag-and-drop Editor
SEO Scoring Tool
Embed Products in Blogs

14-Day Free Trial

You’re 15 Mins Away From Getting
Your Dream Shopify Blog

10-day free trial, cancel anytime

Design & preview before you publish

Create unlimited articles during the trial

Try for free

Finally  get the personalized Shopify blog your brand deserves

Try Bloggle

Follow us ! 🥳