Skip to main content

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

ResourceChange
create_campaignAccepts and returns the new pwa_open campaign event type
update_campaignAccepts and returns the new pwa_open campaign event type
update_campaign_graphReturns the new pwa_open campaign event type
get_campaignsReturns the new pwa_open campaign event type
get_campaigns_by_idsReturns the new pwa_open campaign event type
get_campaignReturns the new pwa_open campaign event type
update_playerAccepts 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_open event type on campaigns and send the new first_pwa_install_at, pwa_install_at, and pwa_visit_at attributes when updating a player.

Need help?
Contact our integration team at [email protected]