/analytics/event
Track a purchase funnel step
Records that a visitor took a step in the purchase funnel, named as the GA4 e-commerce event: view_item, add_to_cart, begin_checkout, add_shipping_info, add_payment_info or purchase. Cookie-free; ignored when the channel's analytics is off or the visitor is a bot. Called server-side from ecom-frontend.
Body krävs
| Fält | Typ |
|---|---|
step
|
string · nullable |
Svar
-
Retry-After— Seconds to wait before retrying.
Standardfel:
400
Felhantering
Exempel
curl -X POST "https://api.erp.fluit.cloud/ecom/analytics/event" \
-H "X-Tenant-Id: $FLUIT_TENANT_ID" \
-H "X-Channel: web" \
-H "Content-Type: application/json" \
-d @body.json
Bas-URL https://api.erp.fluit.cloud/ecom.