Send event data to Outfunnel
Configuration
Option | Description |
---|---|
Outfunnel User Id Type: string Required: True | Outfunnel User ID. This is found under Account |
API Token Type: string Required: True | Outfunnel API Token. This is found under Account |
Debug Mode Type: boolean Required: False | Will log configuration and request details |
Using our REST API you can create this destination like so:
Terminal
# 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": "Outfunnel","inputs": {"userId": {"value": ""},"apiToken": {"value": ""}},"enabled": true,"template_id": "segment-outfunnel"}'