Back to Docs

PostHog

On This Page

Adding a PostHog Integration in Variance

PostHog is a great way to get your customer data into Variance. Hooking up PostHog is easy. To start, head to the Integrations > PostHog page in Variance.

You'll find the integrations section under your company name in the top nav

Then you'll Add a PostHog Connection. You can describe it in any way you want, but we suggest using the name of the RudderStack source you're going to be piping from. We recommend you use one connection per source, as you can then filter by source, but it's up to you.

Account Matching from PostHog to Variance

On the first time you connect a PostHog integration we ask for a little bit of additional information about how you link users with their companies in your Segment data. You can find the full details of our options on our Account Matching docs page.

If you aren't sure how you do account mapping now, you can see what data you're sending through on your users by visiting the Persons & Groups section of PostHog. If you have questions at all, please reach out and we're happy to hop on a Zoom and help you get set up.

Connecting Variance in PostHog

Once you've added your RudderStack integration, you'll see two pieces of data:

  1. Webhook URL
  2. Authorization Header Value
You just need two values

From there you'll go to Apps and then choose Variance from the list of apps (it's alphabetical, so scroll down). Once you see it, you'll want to Click the Gear Icon to configure.

Just hit the gear

Here you'll be able to add your Webhook URL and Authorization header value from your Variance integrations page. Make sure to hit Save at the bottom.

Just add those two values and hit Save.

If you didn't already toggle on enabled, make sure you do that now to get data flowing to Variance.

Yes, we're sure!

Everything should be good to go and you should start seeing data in Variance momentarily. You might want to go click through some key paths on your app to make sure everything is working properly.

Last Updated: 
June 8, 2022