mirror of
https://github.com/netbirdio/docs.git
synced 2026-05-02 15:26:36 +00:00
Add Matomo Tracking Script (#685)
This commit is contained in:
@@ -14,6 +14,7 @@ import 'react-toastify/dist/ReactToastify.css';
|
||||
import {dom} from "@fortawesome/fontawesome-svg-core";
|
||||
import {AnnouncementBannerProvider} from "@/components/announcement-banner/AnnouncementBannerProvider";
|
||||
import {ImageZoom} from "@/components/ImageZoom";
|
||||
import {MatomoTagManager} from "@/components/Matomo";
|
||||
|
||||
function onRouteChange() {
|
||||
useMobileNavigationStore.getState().close()
|
||||
@@ -27,6 +28,7 @@ export default function App({ Component, pageProps }) {
|
||||
let tableOfContents = collectHeadings(pageProps.sections)
|
||||
return (
|
||||
<>
|
||||
<MatomoTagManager />
|
||||
<Head>
|
||||
<style>{dom.css()}</style>
|
||||
{router.route.startsWith('/ipa') ?
|
||||
|
||||
Reference in New Issue
Block a user