Hello,
I have applied Adsense for my discourse site.
I pasted the Adsense code in </head>
section.
Google responses with
Error logs shows
Hello,
I have applied Adsense for my discourse site.
I pasted the Adsense code in </head>
section.
Google responses with
Error logs shows
It’s because you’re trying to run in-line JavaScript, which can cause some problems. This is why Discourse has removed it. For more information, go here:
Thank you @Chaboi_3000
Oh, and @Viki, you can use this plugin in your site for AdSense. I think this should help with your In-line JS problem:
https://meta.discourse.org/t/google-adsense-plugin/11763
I am using discourse-adplugin
https://github.com/discourse/discourse-adplugin
I disabled CSP & CSPR reports.
Never mind. I’m sorry. I messed that up. You just have to go to https://example-forum.com/admin/site_settings/category/adsense_plugin
and fill in the details and follow the steps here:
No problem @Chaboi_3000
I think we have to fill the details after we get Adsense approval from Google.
You might want to contact Google about that.