Skip to content

Merging to release-5.8: Testing removing existing Cookie and adding Cookiebot - note using te… (#6486) #6494

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions tyk-docs/static/js/cookie.js

This file was deleted.

11 changes: 2 additions & 9 deletions tyk-docs/themes/tykio/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,8 @@

<body class="page-documentation {{ if and (not .Params.hideSidebar) (not .IsHome) }}hasSidebar{{ end }}">
<!-- Google Tag Manager (noscript) -->
<noscript
><iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-NVX4PCL"
height="0"
width="0"
style="display:none;visibility:hidden"></iframe
></noscript>
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NVX4PCL"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

<!-- Header -->
Expand Down Expand Up @@ -182,8 +177,6 @@ <h1>{{ .Title }}</h1>
{{ partial "ai-chat-widget.html" . }}
<script defer src="{{ "js/chat.js" | relURL }}"></script>

<!-- Cookie Notice -->
{{ partial "cookie_notice.html" . }}

{{ if .Page.Store.Get "hasMermaid" }}
<script type="module">
Expand Down
20 changes: 0 additions & 20 deletions tyk-docs/themes/tykio/layouts/partials/cookie_notice.html

This file was deleted.

21 changes: 7 additions & 14 deletions tyk-docs/themes/tykio/layouts/partials/head_tracking.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@

<!-- Google Tag Manager -->
<script>
if (!localStorage.getItem("cookieDisabled")) {
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != "dataLayer" ? "&l=" + l : "";
j.defer = true; // Added defer attribute to defer script loading till after page load.
j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, "script", "dataLayer", "GTM-NVX4PCL");
}
</script>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NVX4PCL');</script>
<!-- End Google Tag Manager -->

<!-- Start of HubSpot Embed Code -->
<script
type="text/javascript"
Expand Down
Loading