Send event data to Canvas
The configuration process for this destination mirrors Segment's setup. We've automatically modified the documentation from third-party sources to show you how to set up this destination with PostHog.
Configuration
Option | Description |
---|---|
API Token Type: string Required: True | API token generated by Canvas |
Debug Mode Type: boolean Required: False | Will log configuration and request details |
Using our REST API you can create this destination like so:
# Create a new destinationcurl --location 'https://us.i.posthog.com/api/environments/:project_id/hog_functions' \--header 'Content-Type: application/json' \--header 'Authorization: Bearer <POSTHOG_PERSONAL_API_KEY>' \--data '{"type": "destination","name": "Canvas","inputs": {"apiToken": {"value": ""}},"enabled": true,"template_id": "segment-actions-canvas"}'
FAQ
Is the source code for this destination available?
Yes. The source code is available on GitHub.
Who maintains this?
This is maintained by Segment. 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.
Parts of this page are sourced from segmentio/segment-docs under the Creative Commons Attribution 4.0 International License. The content may have been modified according to this code.