Compatibility: Discourse 1.3 and up
Yes! Since plugins are now able to override handlebars templates (thanks again, @zogstrip ) we have finally been able to create a clean Google AdSense plugin for Discourse.
To install, use the standard plugin installation.
This plugin will be automatically made available to DiscourseHosting.com customers by the end of next week.
- Go to Admin -> Settings -> AdSense
- Enter your AdSense publisher ID (ca-pub-xxxxxxxxxxxxxxxx)
- Create new ad slots within your AdSense account (728x90 for desktop, 320x50 for mobile)
- Copy the slot id # numbers (ten digits shown in the ID column) in the Discourse settings
- Enable the slots you want to use