The Tracked Data API #
GDPR requires that you allow your visitors access to any information that you have stored for them.
Do I need to use it? #
If you currently have an automated way for your visitors to obtain their tracked information, you may obtain Releva’s tracked data and merge it with your own before sending it to the visitor.
You can obtain a record of all information that Releva has stored for a visitor by using the following snippet:
curl -H 'Authorization: Bearer <secretKey>' https://releva.ai/api/v0/trackedData?email=<email>
curl -H 'Authorization: Bearer <secretKey>' https://releva.ai/api/v0/trackedData?profileId=<trackingProfileId>
Field | Type | Description |
---|---|---|
String | The email of the user to view data for. | |
profileId | String | A unique profile ID identifying the visior (e.g. visitor’s cookie.). This needs to be the same profile id you send to the Push API. You can only use this if you don’t use the JS SDK. |