send_test_event
Send a test event to the Meta Conversions API to validate event tracking and diagnose pixel configuration issues. Specify pixel ID, event name, optional test event code, and custom data parameters.
Instructions
Send a test event via the Conversions API Test Events endpoint.
Args: pixel_id: Pixel ID (numeric string). event_name: Event name to send (default 'PageView'). test_event_code: Test event code from Events Manager. If not provided, generates a temporary one. custom_data: Optional JSON string of custom_data params (e.g., '{"value": 10.00, "currency": "EUR"}').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pixel_id | Yes | ||
| event_name | No | PageView | |
| test_event_code | No | ||
| custom_data | No |