Skip to main content

What the PostHog app does

The PostHog app sends events from your business to your PostHog project. Each event has a name like dodo_payment_succeeded. You can use the events in funnels, cohorts, and dashboards.

Before you start

  • You are an owner or an admin of the Dodo Payments business.
  • You have a PostHog project and its API credentials. In the Connect dialog, select Where do I find this? to see where to find each value.

Install, connect, and configure

1

Install the app

Open Apps, then Explore. Open PostHog (publisher Dodo Payments) and select Install.
The PostHog app page in the marketplace with the Official badge and the Install button
2

Connect PostHog

Select Connect. Enter the hostname and the Project Token of PostHog, then select Connect. Dodo Payments tests the credentials.
The Connect PostHog dialog with the Project Token field
If PostHog refuses the key, the dialog says “The API key is not correct. Enter a correct key and try again.” If the test could not run, a warning tells you that Dodo Payments could not check the key.
3

Choose the events

Open the Configure tab, set the options, and select Save.

Settings

What is sent and when

Dodo Payments sends one PostHog event for each Dodo Payments event, after the event happens. The event name starts with dodo_. The event properties do not contain card data, the address, or the customer name. The distinct ID is the value that you select, so the customer email goes to PostHog if you keep the default. Amounts go out in the major unit with the currency code. If Dodo Payments sends an event again after an error, PostHog counts it one time. If the customer has no value for the distinct ID that you select, Dodo Payments skips the event.

Test the app

1

Use test mode

Install and connect the app in test mode. Turn on Send payment events.
2

Make a test payment

Create a test payment.
3

Check PostHog

Open the activity view of your PostHog project. A dodo_payment_succeeded event appears.

Troubleshooting

Disconnect and uninstall

Turn off the events on the Configure tab to stop sending data. Uninstall the app to delete the connection. See Manage and uninstall.
Last modified on November 16, 2026