Adobe Campaign Standard event reference
Events handled
The following events are handled by the Adobe Campaign Standard extension:
Campaign request
The Campaign request event is dispatched from the Event Hub when a Campaign rule is found to be true. For example, after the user launches the app, the "User has launched the app" rule will be true. A triggered consequences event is dispatched, which contains the data of the displayed local, alert, or full-screen message.
Payload definition
The following key-value pairs are present in this event:
triggeredconsequenceExample
The following example shows triggered consequence data.
{
"triggeredconsequence": {
"assetsPath": "assets/path/",
"id": "123",
"detail": {
"template": "local",
"wait": 0,
"userData": {
"deliveryId": "123abc",
"broadlogId": "456edf"
},
"title": "local example",
"content": "local example text"
},
"type": "iam"
}
}
Configuration response
The data property in the configuration response event is used by each extension to modify its current settings. Each extension is responsible for parsing the relevant part of the data property.
Payload definition
The following key value pairs are supported for Adobe Campaign Standard extension when reading from the configuration event:
__dev__campaign.server__dev__campaign.pkey__stage__campaign.server__stage__campaign.pkeycampaign.servercampaign.pkeycampaign.mciascampaign.timeoutglobal.privacycampaign.registrationDelaycampaign.registrationPauseddata-variant=info
data-slots=text
global.privacy is changed to optout, the linkage fields are reset. All downloaded messages and rules are erased, and no tracking request can leave the device.data-variant=warning
data-slots=text
Example
{
"global.privacy":"optedin",
"campaign.timeout":1,
"campaign.mcias":"mcias-va7.cloud.adobe.io/mcias",
"__dev__campaign.pkey":"",
"__stage__campaign.pkey":"",
"campaign.pkey":"",
"__dev__campaign.server":"mcias.campaign-demo.adobe.com",
"__stage__campaign.server":"mcias.campaign-demo.adobe.com",
"campaign.server":"mcias.campaign-demo.adobe.com"
}
Request identity
The request identity event is dispatched by the API to set linkageFields, which sets the linkage fields. It is used to download personalized in-app messages.
Payload definition
The following key-value pairs are supported in this event:
linkagefieldsExample
{
"linkagefields":
{
"firstName":"john",
"lastName":"doe",
"age":30
}
}
Request reset
The request reset event is dispatched when users no longer want to use personalized in-app messages. After this event is received, Adobe Campaign Standard deletes all personalized messages and will only download generic messages.
Data payload
This event has no event data.
Lifecycle response
The lifecycle response event is a response from the Lifecycle extension that notifies a client or extension about lifecycle context data in which the client or extension might be interested. The event is generated by the Lifecycle extension, and the API is called after a lifecycle start, stop, or pause.
Payload definition
The following key-value pairs are used in this event:
lifecyclecontextdataExample
{ "lifecyclecontextdata":
{
"installdate":"22/05/2014",
"hourofday":6,
"dayofweek":2,
"osversion":"iOS 12.3",
"appID":"contextDataValue",
"resolution":"600x1345",
"devicename":"iPhoneX",
"launchevent":"LaunchEvent",
"prevsessionlength":345,
"locale":"en-US",
"runmode":"Application",
"launches":42
},
"starttimestampmillis" :44,
"maxsessionlength":22
}
Generic data OS
The generic data OS event is dispatched by the Core extension to the Event Hub when the collectMessageInfo API is invoked by the app developer to track local and push notification interactions.
Payload definition
The following key-value pairs are used in this event:
deliveryIdactionbroadlogIdEvent data example
{
"deliveryId": "1442de4",
"action": "2",
"broadlogId": "h1c1380"
}
Events dispatched
The following events are dispatched by the Campaign Standard extension:
Campaign response
The Campaign response event is a response from the Adobe Campaign Standard extension and contains the message interaction details: Viewed, Triggered, or Clicked.
Event details
com.adobe.eventType.campaigncom.adobe.eventSource.responseContentPayload definition
The following key-value pairs are used in this event:
a.message.ida.message.triggereda.message.vieweda.message.clickedEvent data example
{ "a.message.id": "12345678", "a.message.triggered": "1" }
{ "a.message.id": "12345678", "a.message.viewed": "1" }
{ "a.message.id": "12345678", "a.message.clicked": "1" }