Cookie controller

8min
what is it? the serviceform cookie controller is built to help you manage your website cookies, third party scripts and their consent it automatically adds on your website a cookie consent popup that forces the customer to make a choice how does it work? the solution is cookie based and utilises a cookie called “cookie consent preferences” this cookie is then set as customer sets to any of the following values allowing all cookies "all" not allowing any cookies "necessary" allowing specific cookies value will be a string separated by "|" "marketing" "preferences" "statistics" "necessary" example value of "cookie consent preference" cookie "marketing|preferences|necessary" for example the value will be “marketing|preferences|necessary” if you choose marketing and preferences, but deny statistics google datalayer will be sent the same values in the following way // example event window\ datalayer push({ 'event' 'cookieaccept', 'cookieaccepted' 'yes', 'cookieacceptlevel' "marketing|preferences|necessary" }); this allows you to load specific third party scripts using google tag manager based on your users cookie or selection preferences getting started to add the cookie controller on your website, all you need to do is to 1\ log in to serviceform 2\ add your domain 3\ add either the partner script or the individual cookie script to the of your website you can find your own cookie embed settings under cookie controller > embed the tool automatically adds a way for the customer to change their cookie preferences with a button at the bottom, or as a floating element in the bottom left corner you can also add a class “js footer edit cookies” which can be used to trigger the modal logs and statistics the serviceform cookie controller gathers anynomised statistics of usage, mainly the three types of consent allow all, deny all vs modify, so you will know how many users use the tools and what they choose on top of this the tool logs each consent request and marks an computer id, timestamp and consent type as required by the legislation automatic script and cookie blocking the cookie tool can be set to automatically block third party scripts this is done with setting a script value before the embed script make sure your cookie controller embed code loads before your third party scripts this means it should be set as "high" as possible in the dom for it to block the third party scripts window\ sf cookies block = { type "block", whitelist "domain1 com, domain2 com", blacklist "domain3 com, domain4 com" } by leaving blacklist empty, it will block all third party urls from loading automatic translations the serviceform cookie controller automatically translates to the users language based on the html lang tags we currently support the following languages with automatic translation \ english \ finnish \ spanish \ swedish \ estonian \ latvian \ lithuanian \ russian \ german \ czech \ french for example if your language is english, and you change to german, we detect the change in the lang tag to "de" and the cookie controller language changes it will also retain the cookie selection as long as you keep the same main domain more information on cookies cookies are pieces of information stored on your browser to identify you as a user there are alternative possibilities such as localstorage that can work in similar ways to find more information on gdpr and it's relation to cookies visit eu on personal data and gdpr https //ec europa eu/info/law/law topic/data protection/reform/what personal data en/ in finland you can read more information from trafi https //www traficom fi/fi/toimintamme/saantely ja valvonta/evasteet https //www traficom fi/fi/toimintamme/saantely ja valvonta/evasteet