server-track-lab
v0.1.0Send server-side conversions to Meta CAPI (live); Google validate-only, LinkedIn dry-run.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
track_event Send a conversion event
Send one server-side conversion (lead, signup, purchase, subscribe...) to server-track-lab, which normalizes, SHA-256 hashes and dedupes it, then forwards it: Meta Conversions API live (with the workspace's own pixel/token), Google Data Manager API validate-only preview (nothing recorded), LinkedIn dry-run (not sent). Reuse the same event_id on retries; duplicates are free and not re-sent. Counts as billed usage (first 1,000/month free, then CA$2 per 1,000).
| Parameter | Type | Description |
|---|---|---|
event_id * | string | Stable unique id for this conversion (also used by Meta for Pixel dedup) |
event_name * | string | e.g. lead, sign_up, purchase, subscribe, demo_booked |
user * | object | At least one identifier (email, phone, external_id, fbp/fbc, gclid...) |
currency | string | ISO 4217, required with value |
destinations | array | |
event_source_url | string | |
test | boolean | Mark as a test event |
timestamp | string | ISO 8601; defaults to now |
value | number |
test_meta_connection Test the Meta connection
Send one synthetic Lead to Meta Events Manager → Test events using the workspace's saved Meta pixel, token and test_event_code. Returns sent/skipped/failed with Meta's error and a hint. Does not affect production data.
get_stats Get usage stats
This month's accepted, deduplicated and failed events for the workspace, plan and free allowance, and the usage split between human/app and agent/bot traffic (both billed the same).