Push Notification Shown Hyperskill Analytic Event
class PushNotificationShownHyperskillAnalyticEvent(pushNotificationData: PushNotificationData) : HyperskillAnalyticEvent
Represents a shown analytic event of the push notification.
When the user sees the push notification in the notification center.
JSON payload:
{
"route": "None",
"action": "shown",
"part": "notification",
"context":
{
"type": "STREAK_THREE" || "SELECT_FIRST_TRACK" || ...,
"category": "Routine learning" || "Re-engagement" || ...,
"image": "https://hyperskill.org/image.png",
"notification_id": "12345"
}
}
Content copied to clipboard
Properties
Link copied to clipboard
Event action, for example: click
, view
.
Link copied to clipboard
Event part where action occurred, for example: main
, step_hints
.
Link copied to clipboard
Event route path, for example: /home
, /onboarding
.
Link copied to clipboard
Link copied to clipboard
Target that triggered event, for example: send
, refresh
.