Hi.
Is there any plugin to use Yandex Ad (https://partner2.yandex.ru) banners with Discourse (with auto disabling for trust users)?
Perhaps there is another way? The ads code doesn’t work (
Como você fez isso? Poderia compartilhar?
- Usei o GitHub - discourse/discourse-adplugin: Official Discourse Advertising Plugin. Install & Start Serving Ads on Your Discourse Forum · GitHub. Você precisa criar seu próprio anúncio.
É necessário adicionar um código do Yandex como este:
<!-- Yandex.RTB R-A-******-* --> <div id="yandex_rtb_R-A-******-*"></div>
- E adicione o código completo do Yandex à tag
- Adicione ao “content security policy script src” o código
https://mc.yandex.ru/metrika/tag.js
Infelizmente, o anúncio do Yandex aparece apenas após atualizar a página do site (Ctrl + F5). Se você resolver esse problema, compartilhe a solução.

