diff options
Diffstat (limited to 'layouts/head.html')
-rw-r--r-- | layouts/head.html | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/layouts/head.html b/layouts/head.html index 3c5f3a8b..71323293 100644 --- a/layouts/head.html +++ b/layouts/head.html @@ -42,10 +42,17 @@ <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> + <!-- OneTrust Cookies Consent Notice start --> + <script src="https://cdn.cookielaw.org/consent/7f944245-c5cd-4eed-a90e-dd955adfdd08/OtAutoBlock.js"></script> + <script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" charset="UTF-8" data-domain-script="7f944245-c5cd-4eed-a90e-dd955adfdd08"></script> + <script type="text/javascript"> + function OptanonWrapper() { } + </script> + <!-- OneTrust Cookies Consent Notice end --> +<% end %> +<% if production_and_default_branch? %> + <%# Adds GTM only in production %> <!-- Google Tag Manager --> <script src="<%= @items['/assets/javascripts/google_tagmanager.*'].path %>"></script> <!-- End Google Tag Manager --> |