From 5ba815cfb1adf6a9a76bc7970debf492e5187588 Mon Sep 17 00:00:00 2001 From: Bruno Amui Date: Mon, 13 Feb 2023 15:07:05 -0300 Subject: [PATCH] feat(header scripts): add GA script --- src/components/layout.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/components/layout.tsx b/src/components/layout.tsx index b4efe639a..aa48f42e8 100644 --- a/src/components/layout.tsx +++ b/src/components/layout.tsx @@ -12,6 +12,7 @@ import Footer from 'components/footer' import SidebarContextProvider from 'utils/contexts/sidebar' import Sidebar from 'components/sidebar' import { DocumentationTitle, UpdatesTitle } from 'utils/typings/unionTypes' +import Script from 'next/script' interface Props { sidebarfallback: any //eslint-disable-line @@ -41,6 +42,21 @@ export default function Layout({ return (
+
+ +
{!hideSidebar && (