Skip to content

Commit fbfabea

Browse files
committed
docs: Revert "docs: Add Google Tag Manager (#8275)"
This reverts commit 258046d.
1 parent 6f1a9ba commit fbfabea

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

docs/theme.config.tsx

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,6 @@ const repo = "https://github.com/cube-js/cube";
1515
const branch = "master";
1616
const path = "/docs/";
1717

18-
const GoogleTagManager = () => (
19-
<>
20-
<script dangerouslySetInnerHTML={{ __html: `
21-
(function(w,d,s,l,i){
22-
w[l]=w[l]||[];
23-
w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});
24-
var f=d.getElementsByTagName(s)[0],
25-
j=d.createElement(s),
26-
dl=l!='dataLayer'?'&l='+l:'';
27-
j.async=true;
28-
j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;
29-
f.parentNode.insertBefore(j,f);
30-
})(window,document,'script','dataLayer','GTM-52W7VM2');
31-
`}} ></script>
32-
</>
33-
)
34-
3518
const config: DocsThemeConfig = {
3619
logo: LogoWithVersion,
3720
logoLink: undefined,
@@ -46,7 +29,6 @@ const config: DocsThemeConfig = {
4629
head: (
4730
<>
4831
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
49-
<GoogleTagManager />
5032
</>
5133
),
5234
useNextSeoProps: () => {

0 commit comments

Comments
 (0)