Апісанне
Requires a Pushwi account.
- Loads the Pushwi widget and serves the service worker at
/pushwi-sw.js. No theme edits or files. - Post editor box: send a notification or create a Pushwi draft on publish, or on demand for published posts.
- Target all subscribers or only those interested in the post’s categories and tags.
Filters: pushwi_campaign_payload, pushwi_campaign_category, pushwi_segment_definition, pushwi_subscriber_tags, pushwi_tag_taxonomies, pushwi_sdk_url, pushwi_api_url, pushwi_dashboard_url. Action: pushwi_campaign_created.
Source: github.com/butialabs/pushwi-wp
External services
This plugin uses Pushwi, a web push service by Butiá Labs.
- sdk.pushwi.com: after you save the site public ID, every page loads
pushwi.jsand the service worker loadspushwi-sw-core.js. When a visitor subscribes, their push subscription, browser language, post interest tags and consent text are sent toapi.pushwi.com; delivery and clicks are reported afterwards. - api.pushwi.com: only with a secret API key, and only when an editor sends a post or tests the connection. Sends the notification title, message, post URL, image and icon URLs, and category/tag slugs.
Ўсталёўка
- Go to Settings Pushwi and paste the site public ID (
pub_..., Pushwi dashboard Widget Snippet). - To send from the editor, add a secret API key (
sk_live_..., Developer API keys) and click Test connection. - Add your domain to the allowed origins of your Pushwi site.
Часта задаваныя пытанні
-
The service worker returns the home page
-
Choose any permalink structure other than “Plain”.
-
WordPress is in a subdirectory
-
Copy
/pushwi-sw.jsto your domain root; the settings page shows its URL.
Водгукі
На гэты плагін няма водгукаў.
Удзельнікі і распрацоўшчыкі
“Pushwi” з’яўляецца праграмным забеспячэннем з адкрытым зыходным кодам. Наступныя людзі ўнеслі свой уклад у гэты плагін.
УдзельнікіПеракласці “Pushwi” на вашу мову.
Зацікаўлены ў распрацоўцы?
Праглядзіце код, праверце SVN рэпазітарый, або падпішыцеся на журнал распрацоўкі па RSS.
Журнал змяненняў
1.0.0
- Initial release.
