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.
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.
It’s easy for a Marketo Admin to check to see if your push configuration is verified. Just go here.
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!