Send event data to ABsmartly
Configuration
Option | Description |
---|---|
Collector Endpoint Type: string Required: True | ABsmartly Collector endpoint, for example: https://you-subdomain.absmartly.io/v1 - Contact ABsmartly Support if you don't know your Collector Endpoint. |
API Key Type: string Required: True | ABsmartly SDK API Key. Create SDK Api Keys in the Settings > API Keys section of the ABsmartly Web Console |
Environment Type: string Required: True | Environment name. Environment name needs to match what's in the Web Console. Create Environments in the Settings > Environments section of the ABsmartly Web Console |
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": "ABsmartly","inputs": {"collectorEndpoint": {"value": ""},"apiKey": {"value": ""},"environment": {"value": ""}},"enabled": true,"template_id": "segment-actions-absmartly"}'