Har du brug for et Cookie  samtykke på din side?

Faktisk gemmer n-gen.net CMS sider ikke nogen cookies som standard!
Så det enkle svar er "Nej!"
I EU gælder, at man heller ikke behøver samtykke for at sætte funktionelle cookies.

 

Hvordan får du dit websted til at vise besøgende at din side anvender cookies?

Hvis du vil ændre kildekoden eller på anden måde anvender cookies bør du indsætte et cookie samtykke på din side. I særdeleshed hvis du anvender dit n-gen.net CMS i et EU land siger loven faktisk, at du skal oplyse besøgende på dit website, at du anvender cookies og dermed lagrer en ganske lille tekstfil på deres device. Dette gælder dog ikke funktionelle cookies, også kendt som "Nødvendige Cookies".

n-gen.net CMS kan vise et såkaldt Cookie Consent Banner selv om systemet ikke sætter nogen cookies! Scriptet er faktisk en kopi af et gratis script skrevet af Elias Lange fra Hamburg, Tyskland (https://cookieinfoscript.com). Tak you for det, Elias - vi har givet dig en lille donation.

I sin simpleste form består scriptet af en af de to nedenstående script tags: Det første henviser til Elias' server, det andet henviser til kopie på din n-gen.net CMS server:

<script type="text/javascript" id="cookieinfo" src="//cookieinfoscript.com/js/cookieinfo.min.js">
// Use Elias' script
</script>

<script type="text/javascript" id="cookieinfo" src="/scripts/cookieConsent.js">
// Use the built-in n-gen.net script
</script>

 

To make customization as easy as possible you can apply the following data-attributes to any of the two scripts above:

  1. data-font-size - text size of the message and the link (default: 14px)

  2. data-font-family - font family of the message and the link (default: verdana, arial, sans-serif)

  3. data-text-align - position of the text (default: center)

  4. data-height - banner height (default: 31 pixels)

  5. data-fg - banner text color follows you text color defined in the Style Assistant

  6. data-bg - banner background color (default: #FDD)

  7. data-link - link text color (default: #F11)

  8. data-divlink - button text color (default: #FFF)

  9. data-divlinkbg - button background color (default: #C00)

  10. data-position - banner position, top or bottom (default: top)

  11. data-message - message text (default: We do not need cookies to enhance your experience. By continuing to visit this site you agree that we do not use cookies at all!)

  12. data-linkmsg - link text (default: More info)

  13. data-moreinfo - where the visitor can read more about cookies (default: https://help.n-gen.net/index.aspx?id=17 [this page!])

  14. data-close-text - the text/symbol for the close button (default: ×)

  15. data-effect - effect to use (default: fade)

  16. data-cookie - name for the cookie to store the cookiebanner acceptance information (default: we-love-cookies)

  17. data-expires - cookie expiry date/time (default is Infinity aka "Fri, 31 Dec 9999 23:59:59 GMT").

  18. data-cookie-path - Path to set for the cookie

  19. data-mask - whether to create a mask over the viewport (default: false). Clicking anywhere on the mask is considered as acceptance.

  20. data-mask-opacity - the opacity to use for the window mask (default: 0.5)

  21. data-mask-background - optional background style you wish to apply to the mask (default: #999)

  22. data-zindex - z-index to set on the notice (default: 255). If mask is used, the notice's z-index is automatically incremented by 1 so it appears above the mask)

  23. data-accept-on-scroll - when is set true window scrolling is considered as acceptance. (default: false)

  24. data-tracking - Tracking pixel (default: Off - To enable you will need to enter a (image) tracking url or script.

Below is an example of a customized version of the script:

<script type="text/javascript" 
    id="cookieinfo"
    src="/scripts/cookieConsent.js"
    data-bg="#FF6600"
    data-link="#F1D600"
    data-cookie="CookieInfoScript"
    data-text-align="right"
    data-close-text="Got it!">
</script>

 


 

Last updated 17-01-2024 15:04:05