Skip to content

Commit

Permalink
Merge pull request #100 from yel-hadd/master
Browse files Browse the repository at this point in the history
STAR-197 : Implement CookieBot scripts onto documentation engine
  • Loading branch information
bogdanssh authored Oct 16, 2024
2 parents 2b4e0ba + aa511d9 commit 9d8ed4d
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 9d8ed4d

Please sign in to comment.