Web Push For AMP

MoeEngage now supports sending web pushes to users who opt-in for web push on web pages built using the AMP framework. Since AMP is dedicated to optimizing the web experience for the mobile user like the faster page loading, there are a few restrictions the framework enforces like not running the third party scripts on AMP pages. So, the integration for AMP pages is completely different from the regular web push integration with MoEngage SDK. You can see the detailed step for AMP Web Push integration here. Please note that this is available only for HTTPS websites.

This feature is currently in beta, for any queries please reach out to support@moengage.com.

Integration Essentials

AMP is supported on all the major browsers on Andriod and iOS (full list here), but Web Push subscription on AMP pages is only possible on Andriod devices.

Option to set up an AMP integration is enabled by default for your MoEngage account. You can choose to add AMP integration, in addition, to an already exiting Web Push integration or you can also have the stand-alone only AMP integration as well. 

This integration currently enables

  1. Ability to optin for Web Push on AMP pages
  2. Ability to customize the Web Push optin button display
  3. The ability for end-users to opt-out from web push after they optin
  4. Ability to deliver a Web Push, to subscribed users. The Web push can be personalized and/or can include rich features like display image, action buttons, etc.
  5. Ability to track Web Push impression and user actions (button click, notification click).

The integration currently cannot track system events or any custom events. 

How to target AMP Web Push Subscribers

Once you have completed the AMP for Web Push Integration, the visitors of your published AMP pages can then opt-in for web push by clicking on the Subscription widget(button).


How to identify Web Push Subscriptions from AMP pages

When subscribed successfully, Subscribed to Web Push event, for the user is triggered automatically. To identify no. of users who have subscribed, on the segmentation page filter users who have executed the event Subscribed to web push with Is AMP attribute as TRUE. 

Screenshot_2019-11-12_at_7.05.35_PM.png

Sending Web push to subscribers from AMP Pages

While creating the Push campaign, you should select the Web platform as one of the target platforms. For targeting the users who subscribe for Web Push from AMP pages either use All Users as the target audience or a custom segment as defined in the previous section. Since currently, the integration does not include tracking the user events, behavioral custom segments to target subscribers from AMP pages is not possible. 

 

 

Was this article helpful?
1 out of 1 found this helpful