This guide will help you check the consent history of a user who has visited your website with Termly installed. You may want access to this in order to provide a record of compliance to one of your website visitors.
Step 1: Ask your website visitor to retrieve their Termly User ID by accessing the TERMLY_API_CACHE
Each user interaction with the consent banner is logged with a unique Termly user ID. This ID is stored in the TERMLY_API_CACHE
. The API cache contains information that helps correlate users with their consent decision.
Locate the
TERMLY_API_CACHE
in local storageRetrieve the user ID associated with the user in question.
Note: Ensure that the user ID is obtained from the same browser and device where the user visited the website.
Step 2: Correlate Consent Records
Using the retrieved user ID, you can now correlate the consent records:
Access your consent logs from the Termly Dashboard.
Search for the consent records using the user ID.
Verify the categories of consent that the user has opted into.