gatsby-plugin-matomo
gatsby-plugin-matomo copied to clipboard
random 404 error with "_pk_ref"
No sure if this is an issue with this plugin, Matomo or Gatsby, but here goes...
We've moved the build into our non-prod environment (AWS S3 with CloudFront) and it works fine happily sending data over to Matomo, until... it decides that all routes are 404.
The issue was only noticed after we implemented this Matomo plugin.
On closer inspection, the only difference between the site working and not working, is when the cookie "_pk_ref.1.546b" gets set.
Removing this cookie fixes the issue.
Thanks