Terms of service
Collecting TOS acceptance
There are several ways to collect TOS acceptance from your users using one of ReachFive widget’s.
Using social login widget
If you are using social login using the social login widget you can collect TOS acceptance with the following configuration:
{
"auth": {
"acceptTos": true
}
}
With the previous configuration a user login implies acceptance of the terms of service. It does not matter if the user is unknown (signup+login) or already known (login), TOS will be accepted in both cases.
Using the auth widget
TOS can be collected on signup (or social login) through the authentication widget using the following configuratinon:
{
"auth": {
"acceptTos": true
}
}
Using the passwordless widget
It is possible to collect TOS acceptations using the passwordless widget using the same configuration as the previous two widgets:
{
"auth": {
"acceptTos": true
}
}
Use TOS data
TOS data is available through the ReachFive console or the api.
In the console you can access the data on a per profile basis through the profile view:
Or using filters in order to segment your user base:
Accessing the data using the api can be done using the following request:
Example request:
POST <domain>/api/v1/profile/search
{
"fields": "id,email,name,age,city",
"filter": "tos_accepted <= \"2018-03-09T16:46:37.781Z\""
}
// The date is expected to be in a valid ISO 8601 format