✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
update gtag script
AykutSaraca9d0b45bdce9
diff --git a/src/components/GoogleAnalytics/index.tsx b/src/components/GoogleAnalytics/index.tsxindex cefd82a6..f2ad2a49 100644--- a/src/components/GoogleAnalytics/index.tsx+++ b/src/components/GoogleAnalytics/index.tsx@@ -9,24 +9,18 @@ export const GoogleAnalytics: React.FC = () => {return (<><Script- id="google-tag-manager"+ src="https://www.googletagmanager.com/gtag/js?id=G-JKZEHMJBMH"strategy="afterInteractive"- src={`https://www.googletagmanager.com/gtag/js?id=G-JKZEHMJBMH`}- />- <Script- id="gtag-script"- strategy="afterInteractive"- dangerouslySetInnerHTML={{- __html: `- window.dataLayer = window.dataLayer || [];- function gtag(){dataLayer.push(arguments);}- gtag('js', new Date());- gtag('config', 'G-JKZEHMJBMH', {- page_path: window.location.pathname,- });- `,- }}/>+ <Script id="google-analytics" strategy="afterInteractive">+ {`+ window.dataLayer = window.dataLayer || [];+ function gtag(){dataLayer.push(arguments);}+ gtag('js', new Date());++ gtag('config', 'G-JKZEHMJBMH');+ `}+ </Script></>);};