Hello! I am currently trying to setup Piwik with a NextJS application, but it doesn’t seem to work.
I think the setup is done correctly, since I see my page views in the online analytics tool, and there isn’t much to be done wrong, but I’ll post it here as well:
<PiwikProProvider
containerUrl="https://cyberjuice.containers.piwik.pro/"
containerId="3e9feb18-3d3c-4221-83a5-066f8dd91bfd"
>
<Component {...pageProps} />
</PiwikProProvider>
As soon as I try to use the usePiwikPro()
hook, I get this error:
Anyone know why this happens?