开发者 |
rittesh.patel
s3rgiosan 10up urbanairship |
---|---|
更新时间 | 2019年7月30日 22:56 |
PHP版本: | 5.2 及以上 |
WordPress版本: | 5.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/wp-content/plugins/
directory, or simply install from the plugin repository.UA_WEB_NOTIFICATION_BUNDLE
constant in your wp-config.php or functions.php, with an array with the required data for the plugin to work. This array should be encoded using json_encode or wp_json_encode, when available. Below is an example:For full technical documentation on Airship’s Web Notification solution, please visit the Airship documentation website. Web notifications are notifications that can be sent to a user via desktop web and mobile web. Please see Web Notifications Explained for more information.
Currently Google Chrome (52+), Mozilla Firefox (48+), Opera (39+) and Safari (12+, via Apple Push Notifications Service).
Each browser has settings to manually/disable push notifications:
The free starter plan includes unlimited web notifications and up to 1,000 addressable users. See the Airship pricing page for more details.
Airship provides a "secure bridge" component that is required for integration on sites that are not fully HTTPS. To use the plugin on a mixed HTTPS site, check the box next to "Yes, I will be integrating the SDK on a mixed HTTPS site." in the Airship Dashboard when configuring your setup files. From there, reference Airship's Secure Integration documentation for details on how to host the necessary files and registration page securely.
Analytics are available in the Airship dashboard, where you can see the number of people who have opted-in to your notifications, the number of notifications sent, the click through rate, and the number of sessions attributed to your push notification. For more details, view the documentation on message reports and opt-in report.
There are several causes as to why you are not receiving notifications: