-
Notifications
You must be signed in to change notification settings - Fork 115
Web SDK Subscription Tracking Events
Jason Pang edited this page Dec 30, 2016
·
3 revisions
Web SDK Subscription Tracking Events
HTTP/HTTPS Fullscreen Permission Message Event Name | Event Arguments | Occurs when... |
---|---|---|
popupLoad |
Popup window is opened | |
customPromptClick |
{result: 'denied'} |
User clicks "No Thanks" on our prompt (not the browser's permission prompt). Popup window closes after this. |
customPromptClick |
{result: 'granted'} |
User clicks "Continue" on our prompt (not the browser's permission prompt) |
permissionPromptDisplay |
The browser's native permission prompt is displayed | |
notificationPermissionChange |
{to: 'denied'} |
The user blocked notification permissions to the site (browser's permission prompt). Popup window closes after this. |
notificationPermissionChange |
{to: 'granted'} |
The user granted notification permissions to the site (browser's permission prompt) |
popupClose |
Popup window is closed |
Slidedown Permission Message Event Name | Event Arguments | Occurs when... |
---|---|---|
popoverShown |
Slidedown prompt is shown to the user. Not always shown on page load, see this doc. | |
popoverAllowClick |
User clicks blue Continue button | |
popoverCancelClick |
User clicks the text No Thanks | |
popoverClosed |
Slidedown prompt is dismissed (clicking either No Thanks or Continue will dismiss the prompt) |
Registration Event Name | Event Arguments | Occurs when... |
---|---|---|
register |
Successfully registered a user with OneSignal |