Before You Create Push Notifications and In-App Messages before-you-create-push-notifications-and-in-app-messages
Creating push notifications and in-app messages isn’t difficult, but you need to have everything ready before you can start. The Marketo Admin and mobile app developer should follow the steps below to prepare the necessary integrations.
-
First, the Marketo Admin adds a mobile app.
-
The Marketo Admin then sends a code snippet to the developer.
-
The developer downloads the SDK, and includes snippet and other methods, for Android or iOS.
-
By default, in-app messages are triggered when your app opens. If you want to trigger messages for other events, such as when a particular page is viewed or a specific button is pushed, the developer needs to add custom events to the code (see Custom Events for In-App Messages below).
-
The developer generates the Server API key and project number for Android or the certification and password for iOS and sends it to the Marketo Admin.
-
The Marketo Admin configures push notification access with the Server API key (Android) or with the certificate (iOS).
Custom Events for In-App Messages custom-events-for-in-app-messages
For in-app messaging, the display trigger is set to App Open by default. If you want to use any custom events to trigger the display of in-app messages (for example, Clicks Add to Cart, Views Settings Page), create a list of desired events and give it to your mobile apps developer. The developer will then add the custom events into the code. After they are approved, they appear as display triggers when setting up your audience. Caution: The custom event coding approval process may take some time to complete.
After you’ve got all of your preparation done for in-app messages and push notifications, it’s time to get started!