Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 May 2018, 01:53
weinstoc weinstoc is offline
 
Join Date: Apr 2007
Using CookieConsent

Elsewhere I found the following code which at least someone claims has worked with VB3. I cannot figure out which template(s) to install it in, and where. This is for GDPR compliance. Can someone point me in the right direction?

<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#000"
},
"button": {
"background": "#f1d600"
}
}
})});
</script>
Reply With Quote
  #2  
Old 10 May 2018, 22:46
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Try adding this to footer template.
Reply With Quote
  #3  
Old 12 May 2018, 15:53
PinkMilk PinkMilk is offline
 
Join Date: May 2010
Real name: Milk Pink
Cookie Consent by Insite website states:
Add the code in the header of your website, just before the </head> tag.
so it should be placed in the headinclude template.
Reply With Quote
  #4  
Old 12 May 2018, 20:55
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
For best page load speed js should be loaded from footer as it will not block any DOM content from loading.
Reply With Quote
Reply


Tags
compliance, gdpr, vb3


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:27.

Layout Options | Width: Wide Color: