Learn how to connect PostHog to your account using webhooks to sync usage data. This guide walks you through the setup process, from copying your destination URL to verifying your data connection.
Chapters
00:00
Introduction to Integrations
Overview of the integrations page and the PostHog connection process.
00:12
Configuring PostHog Webhooks
01:13
Verifying Data Connection
01:54
Importing Historical Data
Transcript
Copy
00:00
All right, welcome to the integrations page.
00:02
This can sound scary, but we're trying to make this as easy as possible for you.
00:07
So, there's one way to get data in, and that is post hoc.
00:11
That's what I will explain.
00:12
Now, if you have Post hoc already set up to track your usage data, then you're able to click Connect here and what you get is a webhook destination URL.
00:22
If you go and copy this and you go to your post post hog setup, you will see that you have data management destinations and these are the destinations where you want to set your usage data to.
00:35
If you then click New Destination, you are able to search for webhook or HTTP webhook and then you click Create here.
00:43
The default settings are pretty good and you can just stay keep it this way.
00:48
The only data point you need is the one you just have in your clipboard now after copying it, and that is the webhook URL.
00:54
So you paste this here and you click Create and Enable on top.
00:58
There's a bunch of optional features that you can do here like filtering out the events that you want to transmit to us, but that by default will just work.
01:07
So you click Create and Enable and now you have the webhook set up.
01:13
Now if you go back to the tool, you will start getting data here, as soon as somebody actually interacts with your web page.
01:21
So what I would recommend is that you go on your website now and trigger a few post hoc events.
01:28
Take a few actions that will trigger a post hoc event and you will immediately see the events on the other side.
01:35
And once you have that live and you refresh the page, you will see the screen status where the post hoc connection is active.
01:41
You'll see how many events are ingested and when the last event happened.
01:46
So that's how you set up Post hoc to sync data and, and all future data from this point on, will be synced towards postdoc.
01:54
If you're looking to get historical data in, then this would be done via a CSV upload.
02:00
check out the CSV upload, instructions to get historical data into your system.