Skip to main content
All CollectionsConsent Management SolutionConsent Management Solution FAQs
How can I correlate user actions to consent records in Termly?
How can I correlate user actions to consent records in Termly?
Updated over a month ago

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.

  1. Locate the TERMLY_API_CACHE in local storage

  2. Retrieve 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:

  1. Access your consent logs from the Termly Dashboard.

  2. Search for the consent records using the user ID.

  3. Verify the categories of consent that the user has opted into.

Did this answer your question?