Leverage OneSignal’s Time Operators to automate time-based push notifications and in-app messages. Trigger reminders for abandoned carts, subscriptions, birthdays, and more using user tags with Unix timestamps and dynamic segment filters.
event : 1600968090
where event
can be anything you want to track and is the tag “key” used to identify the event and 1600968090
is the past, present or future date of the event, expressed as an integer in Unix Timestamp Seconds Format.
Then through the User Tag segment filter or API Create notification tags
filter you can target users based on how long it has been since that date or time before that date will occur. See Journey for more details.
Set the Data Tag
key : value
format. The key
should be some event name or identifier while the value
needs to be a unix timestamp in seconds.Create a Segment
key
in KEY field, use the Time Elapsed Greater Than operator, and the desired number of seconds as the VALUE.Set the Time Elapsed segment filter
intro_email_time
key and then using the “Time Elapsed Greater Than” and a value of 604800
(7 days X 24 hours X 60 minutes X 60 seconds).Automate with Notifications or Messages
-172800
for 2 days before).Segment for targeting users before a date
Segment for birthday triggers