When sending user attributes to UserGuiding, a common use case is to send dates, such as sign-up, subscription and cancellation date, and many others.

With these attributes, you could display a Promoter Survey to users who subscribed two weeks ago or show a Guide to newly subscribed users, for example.

Accepted formats

When sending dates as user attributes, please use one of the following formats.

//Sends date in epoch format (milliseconds)

subscribed_at: "1626449677000"

//Sends date in ISO format (there needs to be 'T' between date and time)

subscribed_at: "2022-01-25T15:00:00.008684+00:00"

//or without milliseconds/timezone

subscribed_at: "2022-01-25T15:00:00"

//Sends date in YYYY/MM/DD format

subscribed_at : "2022/01/25"
Did this answer your question?