diff --git a/package.json b/package.json index bb41a552..55d93bee 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "@loomhq/loom-embed": "1.5.0", "@markdoc/markdoc": "0.4.0", "@markdoc/next.js": "0.2.2", + "@next/third-parties": "15.0.1", "@open-draft/until": "2.1.0", "@pluralsh/design-system": "3.54.0", "@react-types/shared": "3.22.0", diff --git a/pages/_app.tsx b/pages/_app.tsx index cc4440ea..730e6a01 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -14,6 +14,7 @@ import { type AppProps } from 'next/app' import NextLink from 'next/link' import { useRouter } from 'next/router' +import { GoogleTagManager } from '@next/third-parties/google' import { MarkdocContextProvider } from '@pluralsh/design-system/dist/markdoc' import { ThemeProvider as StyledThemeProvider } from 'styled-components' import { SWRConfig } from 'swr' @@ -82,6 +83,7 @@ function App({ Component, pageProps }: MyAppProps) { } const app = ( <> + diff --git a/pages/_document.tsx b/pages/_document.tsx index 5380d452..a44a46f7 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -49,23 +49,19 @@ class MyDocument extends Document { type="text/javascript" data-widget-position="bottom-right" /> -