Push
The Push Service enables the creation, scheduling, updating, and deletion of push notifications, delivering messages to fans based on their preferences. Notifications can be managed directly in Cortex or triggered automatically based on data received through sports data providers, with delivery powered by the OneSignal platform.
How to create a push notification
The Push Notifications Service enables clubs and users to send and manage push notifications. Notifications are powered by OneSignal, ensuring fast and reliable delivery to mobile devices. Push notifications can be manually created, sent or scheduled via the Cortex platform or via API. Alternatively, they can be automatically created and sent based on specific events, occurring during live games.
In order to create push notification from Cortex, it is necessary to provide the information outlined below.
- Title: notification title, displayed to the fan, mandatory.
- Message: notification message, displayed to the fan, mandatory.
- Image URL: URL of the image displayed in the push notification.
- Sound: sounds played by the user device when receiving a push notification.
- Target link: two types of links can be associated to a push notification, Web Links and Deep Links. Web links take the user who opens a push notification to a web page, while deep links take the user to a specific area of the mobile app.
- Filters: push notifications can be send to all fans or to a subset of them, based on user tags and preferences.
Once created, a push notification can be:
- Sent immediately
- Scheduled at a specific date and time
- Scheduled independently for each user, according to his/her app usage data
Unsent push notifications can be updated, cancelled or rescheduled.
How to set up push notifications
The Cortex push notification service is powered by OneSignal, which is a leading customer engagement platform. In order to set up the notification service in Cortex, it is necessary to create a project in OneSignal and communicate to Cortex the App Key and App Id, which are a pair of credentials used by OneSignal to manage and secure your application's push notification service. They work together to ensure that messages are sent to the correct app and that only authorized parties can send them.
- App ID (Public Identifier): this is a unique, public identifier for your specific OneSignal project.
- App Key (Private Identifier): this is a secret, private key used for server-to-server communication with OneSignal's API. It grants full programmatic access to your app's data, allowing Cortex to send notifications via OneSignal on your behalf.
Updated 22 days ago