Open 4lejandrito opened 1 year ago
Do you have any extensions that may be blocking the request to Plausible? I think UBlock Origin (or something similar) was blocking my plausible requests from resolving.
If this is the issue, you can unblock your domain, or you can check out the plausible proxy in this repo. The proxy redirects the request back to your server, then off to plausible. This way it looks like a normal transaction with your site instead of tracking.
@4lejandrito any chance you have badly set NODE_ENV
variable? This is the condition for the tracking being enabled.
enabled = process.env.NODE_ENV === 'production' &&
(!process.env.NEXT_PUBLIC_VERCEL_ENV ||
process.env.NEXT_PUBLIC_VERCEL_ENV === 'production')
Discussed in https://github.com/4lejandrito/next-plausible/discussions/100