PWA support
What's new
The API now supports Progressive Web App (PWA) tracking. Campaigns accept a new pwa_open event type, and players gained three new PWA timestamp attributes — first_pwa_install_at, pwa_install_at, and pwa_visit_at.
Impact
You can now build campaigns that trigger on a PWA being opened and record when a player first installed, last installed, or last visited your PWA.
Changes
| Resource | Change |
|---|---|
| create_campaign | Accepts and returns the new pwa_open campaign event type |
| update_campaign | Accepts and returns the new pwa_open campaign event type |
| update_campaign_graph | Returns the new pwa_open campaign event type |
| get_campaigns | Returns the new pwa_open campaign event type |
| get_campaigns_by_ids | Returns the new pwa_open campaign event type |
| get_campaign | Returns the new pwa_open campaign event type |
| update_player | Accepts the new optional first_pwa_install_at, pwa_install_at, and pwa_visit_at attributes |
Upgrade
- No action required. To use PWA tracking, set the
pwa_openevent type on campaigns and send the newfirst_pwa_install_at,pwa_install_at, andpwa_visit_atattributes when updating a player.
Need help?
Contact our integration team at [email protected]