How to set-up a Google AdSense in Shopify?

54 1 7


I need help on how to set-up AdSense in my store. I'd paste the code in the theme.liquid but it doesn't detect in the Google AdSense it says "The code is missing or incomplete" but there is a button says "continue without checking". I follow instructions on youtube but it doesn't work on my store. 

I hope you can help me with this issue. Thank you so much! 

Replies 5 (5)
Shopify Expert
1669 143 428

Offering a different perspective in case you haven't talked this through with anyone yet, I think this is a bad idea.

- You'll be getting people to click away from your site to earn pennies, rather than earning real money selling products.

- By getting people to click off your site, you damage your engagement and SEO value.

- You have to build MASSIVE traffic volume to earn money with AdSense.

- It looks spammy, and you're recommending other products, both are damaging your reputation.

If you still want to go through with adding AdSense, my team of developers can help you out, just give us a shout at If you put the code in theme.liquid it should be loading on every page, so maybe you're missing the snippet that determines where on the page the widget shows.

• Creator of Order Automator (automation app to save you and your team time on admin tasks)
• Shopify developer for +10 years
• Contributor on the Speed Boostr blog
• Guy who likes to help people
Shopify Partner
332 11 40

Hi there @YoungAdult 

We've created a resource about adding Adsense to Shopify store. Please make sure that you followed all the steps in a proper way

Hope it helps!


I'm Jason Dao, Manager of Research & Development Department at Avada Ecommerce.
New Member
1 0 0

Thank you so much for this warning! These were exactly my thoughts and it is great to see a confirmation from Shopify Expert.

New Member
1 0 0

How about copying the code from Google adsense to the the header.liquid section before </header>?

New Member
1 0 1

i dont think its bad at all all its money making and its real money for google adsence. if your adverting some work on ur website that menas its a work so its not free and bad at all , we need this option also on shopify.