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 following requirements and best practices when creating those assets.
Mandatory Content for Full-Screen Notification Assets
The following parameters 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.
- Provide a link to the image. Image space is limited to 600x900 pixels (on a retina screen).
- Use optimized images to ensure optimizations are displayed immediately.
- 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 following target URLs 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