Skip to content

Commit

Permalink
Removed Cookie Consent Script
Browse files Browse the repository at this point in the history
Google Tag Manager code already exists
Adjusted formatting
  • Loading branch information
yel-hadd committed Oct 16, 2024
1 parent 2b4e0ba commit aa511d9
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions docs/.vuepress/headFunctions.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
import routes from './routes.json';

export default [
[
"script",
{
type: "text/javascript",
charset: "UTF-8",
src: "//cdn.cookie-script.com/s/c9f81de32507a4fec1eb03ee80d0f0ed.js",
},
],
[
"script",
{
Expand All @@ -23,12 +15,12 @@ export default [
"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-5BSW555');
`,
(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-5BSW555');
`,
],
[
"script",
Expand Down

0 comments on commit aa511d9

Please sign in to comment.