diff options
author | David O'Regan <doregan@gitlab.com> | 2021-10-28 14:58:37 +0300 |
---|---|---|
committer | David O'Regan <doregan@gitlab.com> | 2021-11-04 18:48:39 +0300 |
commit | 210ec4d1122209e9720b91012b97300533c04c40 (patch) | |
tree | 112b3d433aa12325a290764746c99464d4f731a4 /layouts | |
parent | aceb33efa68967e6540e1fa30b2f8dddb44ce5cb (diff) |
Replace Cookiebot with OneTrust
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/default.html | 2 | ||||
-rw-r--r-- | layouts/footer.html | 2 | ||||
-rw-r--r-- | layouts/head.html | 12 |
3 files changed, 13 insertions, 3 deletions
diff --git a/layouts/default.html b/layouts/default.html index b9461583..f04a5daf 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -109,7 +109,7 @@ <script src="<%= @items['/assets/javascripts/docs.*'].path %>"></script> <script src="<%= @items['/assets/javascripts/global-nav.*'].path %>"></script> <script src="<%= @items['/assets/javascripts/tables.*'].path %>"></script> - <script src="<%= @items['/frontend/default/default.*'].path %>" data-cookieconsent="ignore"></script> + <script src="<%= @items['/frontend/default/default.*'].path %>"></script> </body> </html> diff --git a/layouts/footer.html b/layouts/footer.html index 12c73654..34844ca6 100644 --- a/layouts/footer.html +++ b/layouts/footer.html @@ -38,7 +38,7 @@ <a href='https://about.gitlab.com/privacy/'>Privacy Policy</a> </li> <li class="pr-3"> - <a href='https://about.gitlab.com/privacy/cookies/' class="text-decoration-none">Cookies Policy</a> + <a href='https://about.gitlab.com/privacy/cookies/'>Cookies Policy</a> </li> <li class="pr-3"> <a href='https://about.gitlab.com/company/contact/'>Contact</a> diff --git a/layouts/head.html b/layouts/head.html index 3c5f3a8b..fc114493 100644 --- a/layouts/head.html +++ b/layouts/head.html @@ -41,10 +41,20 @@ <!-- Docsearch https://community.algolia.com/docsearch/ - via CDN --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"> <!-- end of docsearch --> + <% if production? %> <%# Adds GTM only in production %> <!-- add cookie consent --> - <script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="36a06ac5-ddb4-4f91-8337-067ad19ad8d5" type="text/javascript"></script> + <script type="text/javascript" src="https://cdn.cookielaw.org/consent/7f944245-c5cd-4eed-a90e-dd955adfdd08/OtAutoBlock.js"> + </script> + + <script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" type="text/javascript" charset="UTF-8" data-domain-script="7f944245-c5cd-4eed-a90e-dd955adfdd08"> + </script> + + <script type="text/javascript"> + function OptanonWrapper() { } + </script> + <!-- Google Tag Manager --> <script src="<%= @items['/assets/javascripts/google_tagmanager.*'].path %>"></script> |