Send event data to Moloco MCM
Configuration
Option | Description |
---|---|
Platform ID Type: string Required: True | ID of the platform |
Platform Name Type: string Required: False | Name of the platform (default to the |
API Key Type: string Required: True | The API key for the platform |
Channel Type Type: choice Required: True | Type of channel, either APP or SITE. Defaults to SITE. |
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": "Moloco MCM","inputs": {"platformId": {"value": ""},"apiKey": {"value": ""},"channel_type": {"value": ""}},"enabled": true,"template_id": "segment-actions-moloco-rmp"}'