And, is it possible to show ads only to unregistered users?
Notifications
Clear all
Oct 11, 2021 8:25 pm
7 Replies
Oct 13, 2021 11:48 am
I want to buy wpForo Ads Manager. But I need to know if it is possible to disable ads for registered users (logged in to the account). So that the advertisement is visible only to unregistered users.
Oct 17, 2021 11:48 am
Hello. I bought this addon. Super! Thanks!
There is one question. I see such errors in the console (see screenshot). This is fine?
Oct 20, 2021 4:16 pm
So that there is no such mistake
"adsbygoogle.push() error: Only one AdSense head tag supported per page. The second tag is ignored."
Сan anyone come in handy. Google generates a code with a script that is already on the site. Therefore, the script itself does not need to be inserted into the declaration. Google gives this code:
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9054324840403095" crossorigin="anonymous"></script> <!-- Медийное горизонтальное --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-9054324840403095" data-ad-slot="7010327644" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
but you need to insert this:
<ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-9054324840403095" data-ad-slot="7010327644" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>