Triggered when an email campaign has a new recipient activity.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.email_marketing.v1.campaign
.
Event name. Expected email_activity_updated
.
ID of the entity associated with the event.
Event timestamp.
Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).
If present, indicates the action that triggered the event.
Event information.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "wix.email_marketing.v1.campaign_email_activity_updated",
"instanceId": "<app-instance-id>",
"data": "<stringified-JSON>",
// The identity field is sent as a stringified JSON
"identity": {
"identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP
"anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR
"memberId": "<memberId>", // in case of MEMBER
"wixUserId": "<wixUserId>", // in case of WIX_USER
"appId": "<appId>" // in case of APP
}
}
}
{
"entityId": "38d837a5-8303-413c-8ac0-75d735a4bdb0",
"actionEvent": {
"body": {
"timestamp": "2022-09-22T12:58:00Z",
"recipientEmailAddress": "michaeltaylor@example.com",
"open": {
"userAgent": "Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko Firefox/11.0 (via ggpht.com GoogleImageProxy)"
},
"activityType": "OPEN",
"contactId": "f1654c62-53b4-43d5-b01b-acbf782dee6f",
"campaignId": "38d837a5-8303-413c-8ac0-75d735a4bdb0",
"metadata": {
"metadataFieldOne": "6b8fe9d9-bf02-42ed-9b27-77be5f6bc133",
"metadataFieldTwo": "80cad016-1f36-4238-9748-2545fd374480"
}
}
},
"slug": "email_activity_updated",
"id": "aacdffe0-8e14-4d1b-8060-8d0bf8248d36",
"entityFqdn": "wix.email_marketing.v1.campaign",
"eventTime": "2022-09-22T12:58:37.407664Z",
"triggeredByAnonymizeRequest": false
}