Skip to main content

Tracking Messages

The send response tells you Mailtarget accepted the message. It does not tell you final delivery.

Tracking model

  1. Submit the message.
  2. Store transmissionId.
  3. Receive delivery, bounce, complaint, unsubscribe, open, and click events through webhooks.
  4. Join those events back to your internal object using transmissionId and metadata.

Metadata

Add your own join keys at send time:

{
"metadata": {
"order_id": "10042",
"user_id": "u_abc"
}
}

Mailtarget echoes metadata into events when available. This avoids brittle joins on recipient email alone.