Send event data to Kameleoon
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.
Kameleoon is a versatile optimization, experimentation, and personalization platform. It is used to enhance website and mobile app experiences while enabling experimentation.
Installation
- Navigate to Data pipelines in the PostHog web app.
- Search for Kameleoon and select the destination.
- Click Add destination.
- Select the Source you want to connect to Kameleoon and click Confirm Source.
- On the Basic Settings side panel, complete the required fields:
- Name: Enter a name to help you identify this destination in PostHog
- API Key: Paste your Kameleoon API key. To generate an API Key, see Kameleoon's documentation on generating an API key.
- Sitecode: Paste your Kameleoon project sitecode. You can find it in the project dashboard.
- Enable the destination by clicking the Enable Destination toggle switch.
- Click Save Changes.
The integration requires that you use the same system of identifiers for both tools. While PostHog uses the userId, Kameleoon uses the kameleoonVisitorCode. In order to identify which visitor triggered the forwarded PostHog events, you must include the kameleoonVisitorCode inside your PostHog events. To know more, see Kameleoon's documentation on matching a PostHog user with a Kameleoon visitor.
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:
# 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"}'
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.