lolesdotpt
Forum Replies Created
-
Forum: Plugins
In reply to: [Quantcast Choice] Google Error Code 2.1aHello again,
I’ve tested your code and it seems to be working, the ads are shown only after I click “Agree”.
Can you please check (use this link https://estudos.com.pt/os-homens-nao-sabem-quando-estao-errados-afirma-um-estudo/).
I’ve detected a weird behaviour: The first time I open the link in incognito mode, the ads are shown only after the consent. If I close the browser and open the same link again in incognito mode, the ads are show before content.
I’m using nginx, with varnish, behind Cloudflare. It might be a cache problem?
Best regards,
@rbaronqc Hello,
Did you check my previous message?
I have one more question. Is there a Quantcast paid version that solves this issue without coding from our side? I saw a competetitor of yours that has a paid version with the option to “Consent based tags loader”. I saw a website running that and it works as pretended.
Best regards,
Forum: Plugins
In reply to: [Quantcast Choice] Google Error Code 2.1aHello again,
I’ve tested your code and it seems to be working, the ads are shown only after I click “Agree”.
Can you please check (use this link https://estudos.com.pt/os-homens-nao-sabem-quando-estao-errados-afirma-um-estudo/).
I’ve detected a weird behaviour: The first time I open the link in incognito mode, the ads are shown only after the consent. If I close the browser and open the same link again in incognito mode, the ads are show before content.
I’m using nginx, with varnish, behind Cloudflare. It might be a cache problem?
Best regards,
Forum: Plugins
In reply to: [Quantcast Choice] Google Error Code 2.1aAny ideia on how to adapt this code to work with Quantcast?
<html> <head> <title>Your site title</title> </head> <body> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script>(adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=1;</script> // This will pause ad requests, so users have time to interact with your consent solution. /* Set up the consent solution and act according to the user choice. If the user declines personalized ads, make sure to call (adsbygoogle=window.adsbygoogle||[]).requestNonPersonalizedAds=1; Remember that you need user consent for using cookies even for non-personalized ads in countries where the EU eprivacy directive requires it. Later, you can call (adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=0 to resume sending ad requests. Without making this call, no ads will be shown. */ <!-- One test unit for GDPR --> <ins class="adsbygoogle" style="display:inline-block;width:970px;height:250px" data-ad-client="ca-pubxxx" data-ad-slot="slot_id"> </ins> <!-- Another test unit for GDPR --> <ins class="adsbygoogle" style="display:inline-block;width:250px;height:250px" data-ad-client="ca-pubxxx" data-ad-slot="slot_id"> </ins> <script>(adsbygoogle = window.adsbygoogle || []).push({});</script> // This usually triggers the ad request, but you have paused these. </body> </html>
Forum: Plugins
In reply to: [Quantcast Choice] Google Error Code 2.1aHello @rbaronqc,
I’m not getting what the issue is then. I followed the instructions: In the header I placed Quantcast Choice universal tag.
My ads are placed according google adsense instructions, put the following code where I want the ad to appear:
<script async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– site xyz –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-XXXXXXXXXXXXXXX”
data-ad-slot=”XXXXXXXXX”
data-ad-format=”auto”
data-full-width-responsive=”true”>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>What’s wrong then?
Somehow this website https://www.carscoops.com/ seems to get the things work without problems, the ads are only show after consent and it seems they are using Quantcast Choice also.
Best regards,
Forum: Plugins
In reply to: [Quantcast Choice] Google Error Code 2.1aHello @rbaronqc
I added the script you sent before the </head> tag but I still see ads before giving consent. Can you please check my website https://estudos.com.pt
Thank you
Forum: Plugins
In reply to: [Quantcast Choice] Google Error Code 2.1a@rbaronqc I’m sorry, i’m not a developer… What am I supposed to do with that code? Is there an easier way to get the ads shown only after the consent?
I’ve found this thread that explains well the problem we are facing:
https://stackoverflow.com/questions/63440572/how-to-display-or-block-personalized-adsense-ads-based-on-consent-for-iab-tcf-v2Thank you
Forum: Plugins
In reply to: [Quantcast Choice] Google Error Code 2.1aHello,
I’ve tried to setup the Quantcast Choice consent via plugin and directly in the code. I always get the error 2.1a in my adsense account. From what i’ve read the problem is that the ads are being show before the user consent. What can I do for the ads to be shown only after user consent?
My google adsense tags are directly in the code. The quantcast tag is the first one after the <head>. You can check my site: https://estudos.com.pt
Thanks for your help.