DeepThought icon indicating copy to clipboard operation
DeepThought copied to clipboard

Question or Feature: Google Adsense support

Open GreatestOfAllTimee opened this issue 3 years ago • 2 comments

First for all, DeepThought are the best Zola themes I ever across. Thanks for your hard work maintaining this repo.

I wonder if DeepThought support for integred with Google Adsense. I found Zola themes (Float) which are supported for Google Adsense. For me to leave a DeepThought behind and use others themes make me a bit upset. If DeepThought support how it's work?

NOTE: I never use Zola before.

GreatestOfAllTimee avatar Feb 13 '22 18:02 GreatestOfAllTimee

This can be easily achieved by overriding analytics (page's header) or user_custom_js (page's footer) blocks See https://deepthought-theme.netlify.app/docs/theme-extension/

Just add <script data-ad-client="<YOUR ADSENSE ID>" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

dlecan avatar Feb 15 '22 14:02 dlecan

This can be easily achieved by overriding analytics (page's header) or user_custom_js (page's footer) blocks See https://deepthought-theme.netlify.app/docs/theme-extension/

Thank you! But in some case adsense required place a code before <header> tag or at the top of web for display an auto ads (not quite sure).

GreatestOfAllTimee avatar Feb 17 '22 05:02 GreatestOfAllTimee