Tracking Messages
The send response tells you Mailtarget accepted the message. It does not tell you final delivery.
Tracking model
- Submit the message.
- Store
transmissionId. - Receive delivery, bounce, complaint, unsubscribe, open, and click events through webhooks.
- Join those events back to your internal object using
transmissionIdandmetadata.
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.