Send event data to Pinterest Conversions API
Configuration
Option | Description |
---|---|
Ad Account ID Type: string Required: True | Unique identifier of an ad account. This can be found in the Pinterest UI by following the steps mentioned here. |
Conversion Token Type: string Required: True | The conversion token for your Pinterest account. This can be found in the Pinterest UI by following the steps mentioned here. |
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": "Pinterest Conversions API","inputs": {"ad_account_id": {"value": ""},"conversion_token": {"value": ""}},"enabled": true,"template_id": "segment-actions-pinterest-conversions-api"}'