Hi @swagatam1975,
Thanks for using our plugins.
Could you please provide the URL to your site where we can check the setup? Do you have any cookie categories enabled by default?
Thanks
Thank you for your reply:
The site URL is makingcircuits . com
here’s the screenshot for the integrations:
makingcircuits.com/wp-content/uploads/2024/07/integrations.jpg
Sorry, I could not understand this: “Do you have any cookie categories enabled by default?”
Hi @swagatam1975,
Thanks for the details.
Sorry, I could not understand this: “Do you have any cookie categories enabled by default?”
There is a “Default status” option under each cookie category (3rd party cookies or advanced cookies), so you can decide to load the cookie scripts before user consent on not. The default value is disabled, so the scripts will be loaded only once user gives consent.
It seem this is used on your site under CMS -> GDPR Cookie Compliance -> 3rd Party Cookies tab. Please make the “Default status” disabled if you don’t want to load the Google scripts without user consent.
Screenshot: https://ibb.co/hfyykPt
Hope this helps
Thank you @mooveagency, for your reply!
I disabled the default status, as shown in your screenshot, but still the ads are loading even before the GDPR notification can appear.
I even tried deactivating Litespeed cache plugin, suspecting it to be interfering with JavaScripts, but even after that the result were the same, ads were still loading.
Any suggestions will be greatly appreciated.
Hi @swagatam1975,
The ca-pub-… tracking ID is a a Google AdSense ID which requires different setup on you site.
The Google Ads on our plugin integration is for Google Ads “Conversion” tracking id which looks like AW-xxxxxx
You can try to remove the ca-pub-xxxxx ID from the integrations tab, and add the following script to 3rd party integration head section:
<script src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-xxxxxx" crossorigin="anonymous"></script><script>
Please replace the ca-pub-xxxxxx with your real tracking ID.
If the solution above doesn’t work, you can try to implement your Google Ads via Google Tag Manager, using consent mode v2 integration.
This require some additional setup, creating GTM container, tags & triggers, etc.
Hope this helps.
Thank you @mooveagency, for your kind suggestions.
I tried to find my Adsense tracking code but it seems there isn’t any tracking code available for Adsense ads. If you know how to find it, kindly let us know about it.
I added the entire Adsense Ad code block to your plugin’s 3rd party integration head section, but still it did not work, the Ads kept loading even before the Cookie notice could appear.
Using GTM to integrate Adsense can be quite a difficult process, and I think most publishers would integrate their Adsense Ads directly through a plugin or through a theme widget.
So, does that mean there’s no easy way to implement the free version of your plugin to block Adsense Ads, until the user accepts the cookie consent?
Awaiting your kind response?
Hi @swagatam1975
It seems it’s not easily possible to block Adsense using our plugin, at least we are not aware of any specific way.
Sorry we can’t be of more help.