Cookie consent for a multisite
-
Hi
I am currently designing a multisite having 4 subsites. I want to include a cookie consent bar on the footer of the front page of the main site and every other subsite ( without using any plugin). In order to achieve this, I have downloaded a snippet from https://cookieconsent.insites.com/ and which has been hooked to the footer using Elements. Now, the cookie consent is being displayed only on the main site but not on the other subsites. Am I missing out anything out here?<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" /> <script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script> <script> window.addEventListener("load", function(){ window.cookieconsent.initialise({ "palette": { "popup": { "background": "#237afc" }, "button": { "background": "#fff", "text": "#237afc" } }, "theme": "classic", "content": { "message": "Deze website maakt gebruik van cookies om ervoor te zorgen dat u de beste ervaring op onze website krijgt.", "dismiss": "Heb het gekregen!", "link": "Meer informatie", "href": "https://localhost/KYNMultisite/rotterdam/privacybeleid/" } })});
Rgds
BM
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Cookie consent for a multisite’ is closed to new replies.