Create JSON assets for in-app full screen notifications on mobile
Create JSON assets to display in-app full screen notifications on your mobile touchpoints. Be aware of the requirements and best practices detailed below when creating those assets.
Mandatory content for full-screen notification assets
The parameters listed below are mandatory when creating your markup for JSON assets:
| type | For full screen notifications the value passed into this parameter will be full. |
| image | image-url
|
Example
{
"type":"full",
"image":{
"image-url":"https://imgur.com/123456"
}
}Response rules for full-screen notification assets
MXO provides the ability to track customer responses to optimizations on a per-asset basis. When configuring customer responses, be aware of the following:
The full-screen notification is displayed when the response is successfully parsed and the content image downloaded. If an image is not provided as part of the asset, the full-screen notification is not shown.
Tapping on the notification image either opens the positive response target url, or, if a target url is not provided, dismisses the notification. A positive response is recorded in both cases.
If a negative response label is provided, a negative button is appended below the image displaying the response label text. Tapping the button either opens the negative response target url, or, if a target url has not been provided, dismisses the notification. A negative response is recorded in both cases.
If a neutral response label is provided, a neutral button is appended either directly below the image, or below the negative button. The response label text displays as part of the button. Tapping the button opens the neutral response target url, or, if a target url is not provided, dismisses the notification. A neutral response is recorded in both cases.
Eligibility rules handle whether or not a notification is shown and, if configured, how many times the notification is shown to a customer.
Supported target URLs for responses
The target URLs listed below are supported for both mini and full-screen notifications:
Browser links
Mail links - mailto:frank@wwdcdemo.example.com
Phone links - tel:1-408-555-5555
FaceTime links - facetime://user@example.com
SMS links - sms:1-408-555-1212
Map links - http://maps.apple.com/?q=cupertino
iTunes links
YouTube links
Other app links or in-app links
