posthog-js
posthog-js copied to clipboard
Page View and Page leave events are still sent when capture_pageview and capture_pageleave are set to false in init in Javascript SDK
Env:
- React
- Posthog JS sdk version: 1.68.2
- node version 16.20.0
Steps to reproduce:
- call init with config:
{ api_host: API_HOST, debug: APP_ENV === 'development', capture_pageview: false, capture_pageleave: false, autocapture: false, }, - Monitor events in posthog console
@anthony-sherloq @macobo Do we have any fixes for this issue? We're seeing the same issue as well with the same config shown above: capture_pageview: false, capture_pageleave: false, autocapture: false
Experiencing the same thing.
"posthog-js": "^1.116.2"