Configure Mobile Push Notification configure-mobile-push-notification
- Go to the Marketing Activities area.
-
Select your push asset and click Edit Draft.
-
Go to Setup.
-
Select your desired app. Android and Apple platforms are enabled by default.
-
If your Push message applies to only one platform (for example, cases for iPhones), then you can exclude the other platform by sliding its selector to Disabled.
-
Click Next.
-
Enter message text or select the token icon to add tokens. Then, select a Tap Action.
note note NOTE If a platform is enabled, it appears on the left side of the phone screen display. It displays in color when it’s selected. note note NOTE There are three types of Tap Actions: Launch App - This App opens the home page of your app when the notification is tapped. Custom uses a deep link to open other areas of your app or any other app to which you have the link (see Deep Link URIs below for details). Landing Page - takes you to a specified Marketo landing page. External URL - takes you to a non-Marketo landing page. -
To insert a deep link for a custom tap action, click Custom and enter the deep link URI in the field.
-
To insert tokens, select a token, enter a default value, and click Insert.
note note NOTE Tokens appear where you place the cursor in the text box. You can use more than one token. note note NOTE Messages and Tap Actions will look the same on both platforms. -
For iOS only, check the checkbox to tell the app to play a sound when the message arrives. Android plays the sound automatically.
-
Preview the other platform and click Finish.
-
Click Approve and Close.
Congratulations! Now the push notification is ready to be sent.
Deep Link URIs deep-link-uris
When subscribers click on a button in a push message, it can take them either to your app’s home page or directly to a specific page within the app. A deep link is a unique reference to a specific page in your app, and looks a lot like a website link.
A deep link URI is made up of three parts: scheme name, path, and identifier. In the example below, “myappname” is the scheme. “products” is the path, and “purple-shirt” is the identifier. When the customer taps, they are taken specifically to the purple shirt item within your app’s product pages.
That said, your app’s deep link structure may be different from the above example. Your developer has many options in defining deep link URI’s, so ask your developer to send you the URIs (links) for the pages you are interested in using. This will ensure that the URIs you enter in push messages point to the right places. Your developer can find more information here.