Send data from PostHog to Avo Inspector

2 minute read

Use Avo Inspector as a PostHog destination

If you are already sending your data to PostHog you can stream it to Avo Inspector without adding any code to your codebase.

PostHog has an official plugin maintained by PostHog that sends data directly to the Avo Inspector. If you are using PostHog you can set it up within a few minutes.

The Plugin is a side effect of the Avo Inspector analyzing your events and keeping your PostHog events stream unchanged.

After connecting the PostHog plugin to a source the event schemas of all events seen in PostHog will automatically be sent to Avo Inspector and you'll be able to monitor the quality of your tracking implementation without any changes in your code!

Inspector only receives your event schema, no actual data will be sent to Avo.

Remember that production data takes up to 2 hours to appear in the Inspector dashboard, while development data is available without any delay

Guide to connect PostHog and Avo Inspector

Step 1. Set up your Avo source

An Avo Source is the first thing you need to connect your PostHog data to Avo Inspector.

Open Sources in the Avo sidebar or Manage Sources in the Inspector tab

Navigation to the Inspector sources screen in Avo

If you already have the source, open it in the dashboard. If you don’t have the source corresponding to your app, add a new one.

Image of the Add Source button in Avo

In the source details, go to "Inspector Setup" and there you’ll see options to integrate Inspector. Pick PostHog to see the integration guide.

Source settings in Avo

Copy the API key, you will need to use it in PostHog for the next step.

Step 2. Enable Avo Inspector plugin in PostHog

  • Open PostHog and log in into your workspace

  • Pick Plugins in the sidebar

  • Search for Avo Inspector in the search box

PostHog navigation to the Plugin menu

Enable the plugin and paste the API key

Save it by pressing Save button under the code editor.

PostHog insert avo API key

Step 3. Test your PostHog plugin integration on Dev.

You can test the production PostHog Plugin in the same way, but keep in mind that the production data shows with a ~2 hours delay in the Inspector dashboard, while development and staging data is shown without delay

Monitor the logs for the Avo Inspector plugin in PostHog and verify events are being sent to the Avo Inspector.

Posthog plugin logs

Then navigate to Avo, pick Inspector in the sidebar and pick Development environment

Environment picker in Inspector

You’ll see the event in your dashboard under the source from where you got the snippet from.

Source overview in Inspector

This means that the PostHog plugin is working 🎉