Send event data to Kameleoon
Configuration
Option | Description |
---|---|
API Key Type: string Required: True | Kameleoon API key. You can generate one using the link in the help doc (https://help.kameleoon.com/setting-up-segment/). |
Sitecode Type: string Required: True | Kameleoon project sitecode. You can find this project dashboard (https://help.kameleoon.com/question/how-do-i-find-my-site-id/). |
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": "Kameleoon","inputs": {"apiKey": {"value": ""},"sitecode": {"value": ""}},"enabled": true,"template_id": "segment-actions-kameleoon"}'