How to Add Google Adsense Code in the Page?

Hi guys,

I am currently working with my recipe blog and I wanted to ask how the google adsense auto ads make it work to my new frontity blog? My current website in wordpress is https://www.panlasangpinoyrecipes.com/

Please help me. What’s the right approach to do it?

Thank you very much

Hi @codepinoys

TBH I’m not sure what you’re asking. Could you provide more clarification please.

Meanwhile you might find the documentation pages for the @frontity/google-ad-manager and @frontity/smart-adserver packages useful.

Hi @mburridge ,

Thank you for your reply. I wanted to add this adsense code below the navigation. What would be the best approach to add it? Please advise.

Thanks

<div id="ezoic-pub-ad-placeholder-101">
		<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- PAN - INNER ADS - RESPONSIVE -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-7227423434"
     data-ad-slot="1355244"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
		</div>

Hi @mburridge ,

Good day! I believe Google Ad Manager is different from Google Adsense. Right now, I’m just using google adsense on my website. Any help how can I make my ads work?

Thanks

Hi @codepinoys

Does this code need to go in every page? If so you could just add it to the component that renders your navigation.

Thank you for your reply @mburridge

yes, this ads render in all the pages.