You can send analytics events to June to enrich your customer data in real-time.
Requirements
Using this requires either PostHog Cloud with the data pipelines add-on, or a self-hosted PostHog instance running a recent version of the Docker image.
Configuring June
With data pipelines enabled, let’s get June connected.
Create a write API key in your June account:
- Log into June and go to the settings tab, marked by a gear.
- Click on the Developer tools tab.
- Click Create new key in the Write API keys table.
We'll use the new key in the next step.
Configuring PostHog’s June destination
- In PostHog, click the "Data pipelines" tab in the left sidebar.
- Click the Destinations tab.
- Click New destination and choose June's Create button.
Drop in the API key you created in the previous step.
You can map specific properties using the Trait mapping table, or switch on Include all properties as attributes to send everything.
Testing
Once you’ve configured your June destination, click Start testing to verify everything works the way you want.
Option | Description |
---|---|
June.so Write API key Type: string Required: True | |
Include all properties as attributes Type: boolean Required: True | If set, all event properties will be included as traits. Individual traits can be overridden below. For identify events the Person properties will be used. |
Trait mapping Type: dictionary Required: False | Map of June.so traits and their values. You can use the filters section to filter out unwanted events. |
FAQ
Is the source code for this destination available?
PostHog is open-source and so are all the destination on the platform. The source code is available on GitHub.
Who maintains this?
This is maintained by PostHog. If you have issues with it not functioning as intended, please let us know!
What if I have feedback on this destination?
We love feature requests and feedback. Please tell us what you think.
What if my question isn't answered above?
We love answering questions. Ask us anything via our community forum.