Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sites get countered twice when using Next.js rewrites #64

Open
danielkolbespecial opened this issue Sep 13, 2021 · 3 comments
Open

Sites get countered twice when using Next.js rewrites #64

danielkolbespecial opened this issue Sep 13, 2021 · 3 comments

Comments

@danielkolbespecial
Copy link

Hi all,

unfortunately each page gets countered twice in our Matomo analytics. Seems like this happens because we use next.js rewrites: https://nextjs.org/docs/api-reference/next.config.js/rewrites . When using redirects everything's fine.

Any ideas? Using redirects instead of rewrites isn't an option for us unfortunately.

@fabioknoedt
Copy link

Same for me - we are moving away from Matomo because we can't afford that to happen.

@ewermor
Copy link

ewermor commented Dec 12, 2022

Probably due to the "new" behaviour of React.StrictMode

@reisi007
Copy link

reisi007 commented Jan 3, 2023

Strict mode is dev only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants