{"id":1326,"date":"2022-05-26T16:25:10","date_gmt":"2022-05-26T16:25:10","guid":{"rendered":"https:\/\/www.cookiebot.com\/en\/?page_id=1326"},"modified":"2023-04-25T14:59:10","modified_gmt":"2023-04-25T12:59:10","slug":"manual-implementation","status":"publish","type":"page","link":"https:\/\/www.cookiebot.com\/en\/manual-implementation\/","title":{"rendered":"Cookiebot Setup"},"content":{"rendered":"\n<p>To correctly implement Cookiebot CMP on your website, and manually mark up cookie-setting scripts, follow the 4 steps below. Please note that you can make use of our automatic cookie blocking feature instead. Follow our <a href=\"\/en\/help\/\">3-step guide<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1 - Create a Cookiebot CMP account and add your domain<\/h3>\n\n\n\n<p><a href=\"https:\/\/manage.cookiebot.com\/en\/signup\/\">Sign up<\/a>&nbsp;to create a Cookiebot CMP account. <a href=\"https:\/\/manage.cookiebot.com\/en\/login\/\">Log in<\/a>&nbsp;to your account and add your website domain name(s). Save. The website will now be scanned (please allow up to 24 hours for the scan to complete).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2 - Choose the cookie consent banner you want to display on your website<\/h3>\n\n\n\n<p>Go to \u201cSettings\u201d and \u201cDialog\u201d and choose your cookie consent banner. The default banner is configured with the strictest settings possible (suitable for cookie consent under GDPR and ePR).<\/p>\n\n\n\n<p>Under \u201cSettings\u201d and \u201cContent\u201d, edit the default banner text so it fits your website and legal requirements.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3 - Insert 2 scripts on your website to make the cookie consent banner and Cookie Declaration appear<\/h3>\n\n\n\n<p>Go to \"Settings\" and \"Your scripts\".<\/p>\n\n\n\n<p><strong>1. Cookie consent banner<\/strong>: Copy the top script and insert it to the header of your website template.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code tabindex=\"0\" role=\"region\" aria-label=\"Code example\">&lt;html&gt;\n&lt;head&gt;\n&lt;script id=\"Cookiebot\" src=\"https:\/\/consent.cookiebot.com\/uc.js\" data-cbid=\"00000000-0000-0000-0000-000000000000\" type=\"text\/javascript\" async&gt;&lt;\/script&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n  ...\n&lt;\/body&gt;\n&lt;\/html&gt; \n<\/code><\/pre>\n\n\n\n<p><strong>2. Cookie Declaration<\/strong>: Copy the second script and insert it in the HTML on the specific page and at<strong>&nbsp;the exact position<\/strong>&nbsp;where you would like the Cookie Declaration to appear.<\/p>\n\n\n\n<p>This could be as a separate page on your website or embedded into an existing privacy policy. The standard Cookie Declaration lists all cookies and trackers discovered on your website and allows the user to withdraw (or change) a consent at any time \u2013 as required under e.g. GDPR.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code tabindex=\"0\" role=\"region\" aria-label=\"Code example\">&lt;html&gt;\n  ...\n&lt;body&gt;\n  &lt;h1&gt;Cookie Declaration&lt;\/h1&gt;\n  &lt;script id=\"CookieDeclaration\" src=\"https:\/\/consent.cookiebot.com\/00000000-0000-0000-0000-000000000000\/cd.js\" type=\"text\/javascript\" async&gt;&lt;\/script&gt;\n&lt;\/body&gt;\n&lt;\/html&gt; \n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4 \u2013 Mark up cookie-setting script tags on your website to control cookies<\/h3>\n\n\n\n<p>When the website scan is complete, check your scan report. If there are any unclassified cookies, <a href=\"https:\/\/manage.cookiebot.com\/en\/login\/\">log in<\/a>&nbsp;to your account and under \u201cCookies\u201d make sure to classify them and add a short purpose description.<\/p>\n\n\n\n<p>Then, all&nbsp;\"preferences\",&nbsp;\"statistics\"&nbsp;and&nbsp;\"marketing\"&nbsp;cookies and trackers must be marked up for prior consent. This is to ensure that until the website user has given a consent, no cookies other than those strictly necessary are set. Only those categories of cookies the user has consented to will be activated upon consent \u2013 all other cookies will be held back automatically.<\/p>\n\n\n\n<p>Information about where in the source code a cookie-setting script is located is listed in the scan report (where applicable). To enable prior consent, apply the attribute \"data-cookieconsent\" to cookie-setting script tags on your website. Set the comma-separated value to one or more of the cookie categories \"preferences\", \"statistics\" and \"marketing\" in accordance with the types of cookies being set by each script. Finally change the attribute \"type\" from \"text\/javascript\" to \"text\/plain\".<\/p>\n\n\n\n<p>Example on modifying an existing Google Analytics Universal script tag:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code tabindex=\"0\" role=\"region\" aria-label=\"Code example\">&lt;script type=\"text\/plain\" data-cookieconsent=\"statistics\"&gt; \n    (function(i,s,o,g,r,a,m){\n    i&#91;'GoogleAnalyticsObject']=r;\n    i&#91;r]=i&#91;r]||function(){(i&#91;r].q=i&#91;r].q||&#91;]).push(arguments)},i&#91;r].l=1*new Date();\n    a=s.createElement(o),m=s.getElementsByTagName(o)&#91;0];\n    a.async=1;\n    a.src=g;\n    m.parentNode.insertBefore(a,m)})(window,document,'script','\/\/www.google-analytics.com\/analytics.js','ga'); \n    ga('create', 'UA-00000000-0', 'auto'); \n    ga('send', 'pageview'); \n&lt;\/script&gt; \n<\/code><\/pre>\n\n\n\n<p>Example on modifying an existing JavaScript file classified in the scan report as a marketing cookie:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code tabindex=\"0\" role=\"region\" aria-label=\"Code example\">&lt;script type=\"text\/plain\" data-cookieconsent=\"marketing\" src=\"\/\/widget.manychat.com\/1234567891011.js\"&gt;&lt;\/script&gt; \n<\/code><\/pre>\n\n\n\n<p>If your website is loading scripts dynamically, use the functions of the <a href=\"\/en\/developer\/\">JavaScript SDK<\/a>&nbsp;for full control.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\"><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Additional resources<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can make use of our automatic cookie blocking feature instead of manually marking up cookie-setting scripts. Follow our <a href=\"\/en\/help\/\">guide<\/a>.<\/li>\n\n\n\n<li>You can also use our <a href=\"\/en\/developer\/\">JavaScript SDK<\/a>&nbsp;to customize Cookiebot CMP, for example to create alternative ways for the user to withdraw or change a consent.<\/li>\n\n\n\n<li>Frequently asked questions about <a href=\"https:\/\/support.cookiebot.com\/hc\/en-us\/sections\/360001382374-Analytics-and-performance\/\">how Analytics data is impacted<\/a>&nbsp;by the requirement to obtain user consent and our <a href=\"https:\/\/support.cookiebot.com\/hc\/en-us\/\">help center<\/a>&nbsp;(in English)<\/li>\n<\/ul>\n\n\n\n<div class=\"cb-simple-tiles\">\n            <a href=\"https:\/\/support.cookiebot.com\/hc\/en-us\/articles\/360003793854-Google-Tag-Manager-deployment\" target=\"_blank\" title=\"GTM\"            class=\"cb-simple-tiles__tile\">\n            <svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M25.3333 4H6.66667C5.2 4 4 5.2 4 6.66667V25.3333C4 26.8 5.2 28 6.66667 28H25.3333C26.8 28 28 26.8 28 25.3333V6.66667C28 5.2 26.8 4 25.3333 4ZM25.3333 25.3333H6.66667V6.66667H25.3333V25.3333ZM9.33333 13.3333H12V22.6667H9.33333V13.3333ZM14.6667 9.33333H17.3333V22.6667H14.6667V9.33333ZM20 17.3333H22.6667V22.6667H20V17.3333Z\" fill=\"#141414\"\/>\n<\/svg>\n<span class='cb-simple-tiles__title'>GTM<\/span><span class='cb-simple-tiles__description'>Using Google Tag Manager<\/span>        <\/a>\n            <a href=\"https:\/\/cookiebot.com\/en\/developer\/\" target=\"_blank\" title=\"SDK Guide\"            class=\"cb-simple-tiles__tile\">\n            <svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M21.3333 12V18.2133L16.6667 22.8933V25.3333H15.3333V22.8933L10.6667 18.2V12H21.3333ZM21.3333 4H18.6667V9.33333H13.3333V4H10.6667V9.33333H10.6533C9.2 9.32 8 10.52 8 11.9733V19.3333L12.6667 24V28H19.3333V24L24 19.32V12C24 10.5333 22.8 9.33333 21.3333 9.33333V4Z\" fill=\"#141414\"\/>\n<\/svg>\n<span class='cb-simple-tiles__title'>SDK Guide<\/span><span class='cb-simple-tiles__description'>JavaScript SDK<\/span>        <\/a>\n            <a href=\"https:\/\/cookiebot.com\/en\/helpdesk\/\" target=\"_blank\" title=\"Helpdesk\"            class=\"cb-simple-tiles__tile\">\n            <svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M16.0003 2.6665C8.64033 2.6665 2.66699 8.63984 2.66699 15.9998C2.66699 23.3598 8.64033 29.3332 16.0003 29.3332C23.3603 29.3332 29.3337 23.3598 29.3337 15.9998C29.3337 8.63984 23.3603 2.6665 16.0003 2.6665ZM25.947 12.1598L22.2403 13.6932C21.9064 12.7947 21.3819 11.9791 20.7029 11.3024C20.024 10.6258 19.2066 10.1041 18.307 9.77317L19.8403 6.0665C22.6403 7.13317 24.867 9.35984 25.947 12.1598ZM16.0003 19.9998C13.787 19.9998 12.0003 18.2132 12.0003 15.9998C12.0003 13.7865 13.787 11.9998 16.0003 11.9998C18.2137 11.9998 20.0003 13.7865 20.0003 15.9998C20.0003 18.2132 18.2137 19.9998 16.0003 19.9998ZM12.1737 6.05317L13.7337 9.75984C12.8234 10.0916 11.9964 10.6177 11.3102 11.3016C10.624 11.9855 10.0951 12.8107 9.76033 13.7198L6.05366 12.1732C6.58831 10.7814 7.40936 9.5174 8.46362 8.46313C9.51789 7.40887 10.7819 6.58782 12.1737 6.05317ZM6.05366 19.8265L9.76033 18.2932C10.0928 19.1999 10.6195 20.023 11.3035 20.7048C11.9876 21.3865 12.8125 21.9104 13.7203 22.2398L12.1603 25.9465C10.7715 25.4094 9.51057 24.5874 8.4588 23.5333C7.40702 22.4792 6.58771 21.2165 6.05366 19.8265ZM19.8403 25.9465L18.307 22.2398C19.2108 21.905 20.0309 21.3772 20.7101 20.6934C21.3894 20.0095 21.9116 19.1859 22.2403 18.2798L25.947 19.8398C25.4106 21.2269 24.5903 22.4866 23.5387 23.5382C22.4871 24.5898 21.2274 25.4101 19.8403 25.9465Z\" fill=\"#141414\"\/>\n<\/svg>\n<span class='cb-simple-tiles__title'>Helpdesk<\/span><span class='cb-simple-tiles__description'>Still have a question?<\/span>        <\/a>\n            <a href=\"https:\/\/wordpress.org\/plugins\/cookiebot\/\" target=\"_blank\" title=\"WP\"            class=\"cb-simple-tiles__tile\">\n            <svg width=\"28\" height=\"28\" viewBox=\"0 0 28 28\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M1.85231 14C1.85231 18.8138 4.65231 22.96 8.70154 24.9308L2.90769 9.05692C2.21197 10.612 1.85234 12.2964 1.85231 14ZM14 26.1477C15.4108 26.1477 16.7677 25.9 18.0385 25.4585L17.9523 25.2969L14.2154 15.0662L10.5754 25.6523C11.6523 25.9754 12.8046 26.1477 14 26.1477ZM15.6692 8.30308L20.0631 21.3662L21.28 17.3169C21.7969 15.6369 22.1954 14.4308 22.1954 13.3862C22.1954 11.8785 21.6569 10.8446 21.2046 10.0477C20.58 9.03539 20.0092 8.18462 20.0092 7.19385C20.0092 6.07385 20.8492 5.04 22.0554 5.04H22.2062C19.9678 2.98513 17.0385 1.84725 14 1.85231C11.9881 1.85193 10.0077 2.3517 8.23686 3.30666C6.46605 4.26162 4.96041 5.64182 3.85538 7.32308L4.63077 7.34462C5.90154 7.34462 7.86154 7.18308 7.86154 7.18308C8.52923 7.15077 8.60462 8.10923 7.94769 8.18462C7.94769 8.18462 7.29077 8.27077 6.54769 8.30308L10.9846 21.4631L13.6446 13.4938L11.7492 8.30308C11.3247 8.27965 10.9009 8.24374 10.4785 8.19538C9.82154 8.15231 9.89692 7.15077 10.5538 7.18308C10.5538 7.18308 12.5569 7.34462 13.7523 7.34462C15.0231 7.34462 16.9831 7.18308 16.9831 7.18308C17.64 7.15077 17.7262 8.10923 17.0692 8.18462C17.0692 8.18462 16.4123 8.26 15.6692 8.30308ZM20.1062 24.5C21.9439 23.4315 23.469 21.8994 24.5292 20.0568C25.5893 18.2143 26.1474 16.1258 26.1477 14C26.1477 11.8892 25.6092 9.90769 24.6615 8.17385C24.854 10.0814 24.5652 12.0067 23.8215 13.7738L20.1062 24.5ZM14 28C10.287 28 6.72602 26.525 4.10051 23.8995C1.475 21.274 0 17.713 0 14C0 10.287 1.475 6.72602 4.10051 4.10051C6.72602 1.475 10.287 0 14 0C17.713 0 21.274 1.475 23.8995 4.10051C26.525 6.72602 28 10.287 28 14C28 17.713 26.525 21.274 23.8995 23.8995C21.274 26.525 17.713 28 14 28Z\" fill=\"#141414\"\/>\n<\/svg>\n<span class='cb-simple-tiles__title'>WP<\/span><span class='cb-simple-tiles__description'>Using our WordPress plugin<\/span>        <\/a>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>To correctly implement Cookiebot CMP on your website, and manually mark up cookie-setting scripts, follow the 4 steps below. Please note that you can make use of our automatic cookie blocking feature instead. Follow our 3-step guide. Step 1 - Create a Cookiebot CMP account and add your domain Sign up&nbsp;to create a Cookiebot CMP [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"editor_notices":[],"footnotes":""},"tags":[],"class_list":["post-1326","page","type-page","status-publish","hentry"],"acf":[],"thumbnail_status":false,"thumbnail_url":null,"_links":{"self":[{"href":"https:\/\/www.cookiebot.com\/en\/wp-json\/wp\/v2\/pages\/1326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cookiebot.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.cookiebot.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.cookiebot.com\/en\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cookiebot.com\/en\/wp-json\/wp\/v2\/comments?post=1326"}],"version-history":[{"count":0,"href":"https:\/\/www.cookiebot.com\/en\/wp-json\/wp\/v2\/pages\/1326\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cookiebot.com\/en\/wp-json\/wp\/v2\/media?parent=1326"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cookiebot.com\/en\/wp-json\/wp\/v2\/tags?post=1326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}