Skip to content

$pageleave events are sent when capture_pageview: false #92

@paolodamico

Description

@paolodamico

Bug description

I ran posthog-js with { autocapture: false, capture_pageview: false } to avoid any automatic event capturing, however pageviews were still captured (below screenshot of request with pageview payload).

image

Expected behavior

  • Page view events should not be sent on capture_pageview: false

How to reproduce

  1. Init posthog-js with { capture_pageview: false } and review the JS requests console.

Thank you for your bug report – we love squashing them!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions