implement application insights
This commit is contained in:
+4
-1
@@ -8,6 +8,7 @@ import { PersistGate } from "redux-persist/integration/react";
|
||||
import { SessionProvider as AuthProvider } from "next-auth/react";
|
||||
import { Tracking } from "../components/tracking";
|
||||
import { GoogleAnalytics } from "@next/third-parties/google";
|
||||
import Azureappinsights from "../components/azureappinsights";
|
||||
const MyApp = ({ Component, pageProps: { session, ...pageProps } }) => {
|
||||
const store = useStore((state) => state);
|
||||
const persistor = persistStore(store, {}, function () {
|
||||
@@ -21,7 +22,9 @@ const MyApp = ({ Component, pageProps: { session, ...pageProps } }) => {
|
||||
persistor={store.__persistor}
|
||||
loading={<Loading />}
|
||||
>
|
||||
<Component {...pageProps} />
|
||||
<Azureappinsights>
|
||||
<Component {...pageProps} />
|
||||
</Azureappinsights>
|
||||
<GoogleAnalytics gaId="G-GTWW3JT03Z" />
|
||||
</PersistGate>
|
||||
</Provider>
|
||||
|
||||
Reference in New Issue
Block a user