The TrustData PrestaShop module sends server-side conversion events to TrustData via webhooks. It uses PrestaShop's native hooks, so you add no custom code.
| PrestaShop hook | TrustData event | Shopify equivalent |
|---|---|---|
actionValidateOrder | purchase | orders/paid |
actionOrderSlipAdd | refund | orders/updated (with refunds) |
actionOrderStatusUpdate (cancelled) | refund | orders/cancelled |
actionCustomerAccountAdd | signup | customers/create |
You need:
PrestaShop prod) → click Generate KeyDownload the latest trustdata.zip from the GitHub releases.
trustdata.zip file → click Uploadhttps://t.trustdata.tech by default)The JS SDK sets a _trdt_vid cookie on the visitor's browser. When a customer places an order, the module reads this cookie server-side and includes visitor_id in the webhook payload. TrustData uses this to link the purchase back to the original ad click.
_trdt_vid)session_matched: false means TrustData received the webhook but found no session401 Unauthorized in webhook activityactionValidateOrder fires on your checkout flow. Some custom checkout modules fire different hooks