Skip to content

Option to disable sending events and only log them #325

Open
@TriPSs

Description

Is your feature request related to a problem?

During development it would be quite handy if we could disable the actual sending of events and only log what would have been send.

This will make implementing PostHog events easier and wont pollute the dashboard with test data.

Describe the solution you'd like

An option to prevent the sending of events and only log them.

Describe alternatives you've considered

Related sub-libraries

  • All of them
  • posthog-web
  • posthog-node
  • posthog-react-native

Additional context

Similar to #1320

Thank you for your feature request – we love each and every one!

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions