Message events use the $message Semantic Object . This includes a type
such as "email", "sms" or "web-push" which defines the type of message.
Indicate that a message has been sent.
Interface JavaScript API Custom API
Interface
Copy interface MessageSent {
event : 'Message Sent'
properties : {
$message : Message
}
}
Example
Copy fp360 .track ( 'Message Sent' , {
$message : {
id : "23384534543" ,
type : 'email' ,
recipient : "person@domain.com" ,
subject : "You left something in cart!" ,
campaign : "Abandoned Cart"
}
})
Example
Copy {
...<EVENT_MESSAGE_PROPERTIES>,
"type" : "track" ,
"event" : "Message Sent" ,
"properties" : {
"$message" : {
"id" : "23384534543" ,
"type" : "email" ,
"recipient" : "person@domain.com" ,
"subject" : "You left something in cart!" ,
"campaign" : "Abandoned Cart"
}
}
}
Indicate that a message bounced when trying to send.
Interface JavaScript API Custom API
Interface
Copy interface MessageBounced {
event : 'Message Bounced'
properties : {
$message : Message
}
}
Example
Copy fp360 .track ( 'Message Bounced' , {
$message : {
id : "23384534543" ,
type : "email" ,
recipient : "person@domain.com" ,
subject : "You left something in cart!" ,
campaign : "Abandoned Cart"
}
})
Example
Copy {
...<EVENT_MESSAGE_PROPERTIES>,
"type" : "track" ,
"event" : "Message Bounced" ,
"properties" : {
"$message" : {
"id" : "23384534543" ,
"type" : "email" ,
"recipient" : "person@domain.com" ,
"subject" : "You left something in cart!" ,
"campaign" : "Abandoned Cart"
}
}
}
Indicate that a message errored when trying to send. This is used for errors that are not bounces.
Interface JavaScript API Custom API
Interface
Copy interface MessageErrored {
event : 'Message Errored'
properties : {
$message : Message
}
}
Example
Copy fp360 .track ( 'Message Errored' , {
$message : {
id : "23384534543" ,
type : "email" ,
recipient : "person@domain.com" ,
subject : "You left something in cart!" ,
campaign : "Abandoned Cart"
}
})
Example
Copy {
...<EVENT_MESSAGE_PROPERTIES>,
"type" : "track" ,
"event" : "Message Errored" ,
"properties" : {
"$message" : {
"id" : "23384534543" ,
"type" : "email" ,
"recipient" : "person@domain.com" ,
"subject" : "You left something in cart!" ,
"campaign" : "Abandoned Cart"
}
}
}
Indicate that a message has been reported as Junk or SPAM.
Interface JavaScript API Custom API
Interface
Copy interface MessageReported {
event : 'Message Reported'
properties : {
$message : Message
}
}
Example
Copy fp360 .track ( 'Message Reported' , {
$message : {
id : "23384534543" ,
type : 'email' ,
recipient : "person@domain.com" ,
subject : "You left something in cart!" ,
campaign : "Abandoned Cart"
}
})
Example
Copy {
...<EVENT_MESSAGE_PROPERTIES>,
"type" : "track" ,
"event" : "Message Reported" ,
"properties" : {
"$message" : {
"id" : "23384534543" ,
"type" : "email" ,
"recipient" : "person@domain.com" ,
"subject" : "You left something in cart!" ,
"campaign" : "Abandoned Cart"
}
}
}
Indicate that a message was delivered.
Interface JavaScript API Custom API
Interface
Copy interface MessageDelivered {
event : 'Message Delivered'
properties : {
$message : Message
}
}
Example
Copy fp360 .track ( 'Message Delivered' , {
$message : {
id : "23384534543" ,
type : "email" ,
recipient : "person@domain.com" ,
subject : "You left something in cart!" ,
campaign : "Abandoned Cart"
}
})
Example
Copy {
...<EVENT_MESSAGE_PROPERTIES>,
"type" : "track" ,
"event" : "Message Delivered" ,
"properties" : {
"$message" : {
"id" : "23384534543" ,
"type" : "email" ,
"recipient" : "person@domain.com" ,
"subject" : "You left something in cart!" ,
"campaign" : "Abandoned Cart"
}
}
}
Indicate that a message was viewed.
Interface JavaScript API Custom API
Interface
Copy interface MessageViewed {
event : 'Message Viewed'
properties : {
$message : Message
}
}
Example
Copy fp360 .track ( 'Message Viewed' , {
$message : {
id : "23384534543" ,
type : "email" ,
recipient : "person@domain.com" ,
subject : "You left something in cart!" ,
campaign : "Abandoned Cart"
}
})
Example
Copy {
...<EVENT_MESSAGE_PROPERTIES>,
"type" : "track" ,
"event" : "Message Viewed" ,
"properties" : {
"$message" : {
"id" : "23384534543" ,
"type" : "email" ,
"recipient" : "person@domain.com" ,
"subject" : "You left something in cart!" ,
"campaign" : "Abandoned Cart"
}
}
}
Indicate that a message has been viewed.
Interface JavaScript API Custom API
Interface
Copy interface MessageInteracted {
event : 'Message Interacted'
properties : {
$message : Message
}
}
Example
Copy fp360 .track ( 'Message Interacted' , {
$message : {
id : "23384534543" ,
type : "email" ,
recipient : "person@domain.com"
}
})
Example
Copy {
...<EVENT_MESSAGE_PROPERTIES>,
"type" : "track" ,
"event" : "Message Interacted" ,
"properties" : {
"$message" : {
"id" : "23384534543" ,
"type" : "email" ,
"recipient" : "person@domain.com"
}
}
}
Indicate that a message type was subscribed to.
Interface JavaScript API Custom API
Interface
Copy interface MessageSubscribed {
event : 'Message Subscribed'
properties : {
$message : Message
}
}
Example
Copy fp360 .track ( 'Message Subscribed' , {
$message : {
id : "23384534543" ,
type : "email" ,
recipient : "person@domain.com"
}
})
Example
Copy {
...<EVENT_MESSAGE_PROPERTIES>,
"type" : "track" ,
"event" : "Message Subscribed" ,
"properties" : {
"$message" : {
"id" : "23384534543" ,
"type" : "email" ,
"recipient" : "person@domain.com"
}
}
}
Indicate that a message type was unsubscribed from.
Interface JavaScript API Custom API
Interface
Copy interface MessageUnsubscribed {
event : 'Message Unsubscribed'
properties : {
$message : Message
}
}
Example
Copy fp360 .track ( 'Message Unsubscribed' , {
$message : {
id : "23384534543" ,
type : 'email' ,
recipient : "person@domain.com" ,
}
})
Example
Copy {
...<EVENT_MESSAGE_PROPERTIES>,
"type" : "track" ,
"event" : "Message Unsubscribed" ,
"properties" : {
"$message" : {
"id" : "23384534543" ,
"type" : "email" ,
"recipient" : "person@domain.com"
}
}
}
Indicates that consent has been requested to message a user. For Web Push this would be used to indicate that the browser Web Push authorization was requested. For emails it may be that an email was sent confirming subscription status.
Interface JavaScript API Custom API
Interface
Copy interface MessageConsentRequested {
event : 'Message Consent Requested'
properties : {
$message : Message
}
}
Example
Copy fp360 .track ( 'Message Consent Requested' , {
$message : {
id : "23384534543" ,
type : 'email' ,
recipient : "person@domain.com" ,
}
})
Example
Copy {
...<EVENT_MESSAGE_PROPERTIES>,
"type" : "track" ,
"event" : "Message Consent Requested" ,
"properties" : {
"$message" : {
"id" : "23384534543" ,
"type" : "email" ,
"recipient" : "person@domain.com"
}
}
}
Indicates that a user granted consent to be messaged. For Web Push this would be used to indicate that the browser Web Push authorization was granted by the user. For emails it may be that an email was sent confirming subscription status, and the user clicked the link in this email.
Interface JavaScript API Custom API
Interface
Copy interface MessageConsentGranted {
event : 'Message Consent Granted'
properties : {
$message : Message
}
}
Example
Copy fp360 .track ( 'Message Consent Granted' , {
$message : {
id : "23384534543" ,
type : 'email' ,
recipient : "person@domain.com" ,
}
})
Example
Copy {
...<EVENT_MESSAGE_PROPERTIES>,
"type" : "track" ,
"event" : "Message Consent Granted" ,
"properties" : {
"$message" : {
"id" : "23384534543" ,
"type" : "email" ,
"recipient" : "person@domain.com"
}
}
}
Indicates that a user denied (or removed) consent to be messaged. For Web Push this would be used to indicate that the browser Web Push authorization was not granted by the user. For emails it may be that a user unsubscribed from an email list.
Interface JavaScript API Custom API
Interface
Copy interface MessageConsentDenied {
event : 'Message Consent Denied'
properties : {
$message : Message
}
}
Example
Copy fp360 .track ( 'Message Consent Denied' , {
$message : {
id : "23384534543" ,
type : 'email' ,
recipient : "person@domain.com" ,
}
})
Example
Copy {
...<EVENT_MESSAGE_PROPERTIES>,
"type" : "track" ,
"event" : "Message Consent Denied" ,
"properties" : {
"$message" : {
"id" : "23384534543" ,
"type" : "email" ,
"recipient" : "person@domain.com"
}
}
}