Afroditi
Forum Replies Created
-
Forum: Plugins
In reply to: [Civic Cookie Control] LogoHello,
the PRO plugin version offers more customization options regarding the appearence.Best Regards
AfroditiForum: Plugins
In reply to: [Civic Cookie Control] more cookies than beforeHello Peter,
I’m not able to access your site in order to check your implementation, but I can assure you that the only cookie placed by Cookie Control, is the CookieControl, that stores user preferences regarding cookies.
Best Regards
AfroditiForum: Plugins
In reply to: [Civic Cookie Control] Google AdsenseHello,
the generic approach about using AdSense with Cookie Control is to have a cookie category “marketing” in your configuration, and put in it the cookies that are placed by AdSense. Then you would need to run AdSense inside the onAccept callback of that category. To do that, you would need to wrap every block on your page that contains ads with a div of a particular class name, e.g “ad-sense”. The onAccept code would be as follows:// Find all AdSense div containers: var adSenseContainers = document.querySelectorAll(".ad-sense"); // AdSense is inserted using document.write, which will not work after the page is renderes. So we reset it. var w = document.write; document.write = function (content) { container.innerHTML = content; }; // Iterate through the ad containers and inject adSense dynamically: for (var i = 0; i < adSenseContainers.length; i++) { var container = adSenseContainers[i]; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://pagead2.googlesyndication.com/pagead/show_ads.js';; document.body.appendChild(script);
Cookie Control will automatically clear the cookies when the user revokes consent. For completeness, you might also want to use the third party cookies functionality, to allow your users to permanently opt out from AdSense (optOutLink: https://adssettings.google.com/authenticated).
Alternatively, if you just want to prevent cookie placement by AdSense (which will block personalised ads) you can achieve that by running Google AdSense as you would normally do, outside Cookie Control. Then add in your “marketing” cookies the cookie “__gad”.
If the user turns the marketing cookies on, or if he clicks “accept” and that category is on by default, then this cookie will be added to your list of protected cookies and it should not be deleted on subsequent page loads. So on subsequent page loads after AdSense runs Cookie Control will not delete the cookie.
In order to combine the two cases you should writte some custom javascript code. Please also check Cookie Control documentation here https://www.civicuk.com/cookie-control/v8/documentation
Forum: Plugins
In reply to: [Civic Cookie Control] put up the bannerHello,
you could achieve this by adding a custom css rule. You could try the followingdiv#ccc-notify { bottom: unset !important; top: 0; }
Regards
AfroditiForum: Plugins
In reply to: [Civic Cookie Control] Popup not appearing after upgrade to 1.14Hello,
you should clear your cache. It seems to work as expected.
Regards
AfroditiForum: Plugins
In reply to: [Civic Cookie Control] Popup not appearing after upgrade to 1.14Hello,
I see another plugin in this site but in the source there is the Civic Cookie plugin code.
The values notifyOnce and highlightFocus are empty. Propably you were using a version of the plugin previous than the one that introduces these values. You need to check the configuration and set these options, to resolve the issue.Regards
AfroditiForum: Plugins
In reply to: [Civic Cookie Control] Popup not appearing after upgrade to 1.14Hello,
I can see the cookie icon at the bottom right side of your site and I don’t see any console errors regarding the plugin. Please let me know if you need any further help regarding plugin configuration.
Regards
Afroditi