posthog-js-lite icon indicating copy to clipboard operation
posthog-js-lite copied to clipboard

Option to disable sending events and only log them

Open TriPSs opened this issue 1 year ago • 3 comments

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
  • [x] posthog-node
  • [ ] posthog-react-native

Additional context

Similar to #1320

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

TriPSs avatar Dec 11 '24 14:12 TriPSs