# Consent Logging

Consent logging is the collection of how users to a website opt-in or out to the website collecting their personal data. This data can be used to maintain a history of how users have interacted with a site. It can also be used to discover trends and improve the number of opt-ins on the site.

### **How to enable Consent Logging on your website?**

Consent logging can be enabled from **WordPress Dashboard > GDPR Cookie Consent > Cookie Settings > Compliances Tab.**&#x20;

![](/files/mCMidkd4oUgDYtKGokBg)

Once Enabled users consent's will be recorded. Those can be viewed by visiting **WordPress Dashboard > GDPR Cookie Consent > Consent Logs**

![](/files/-M9Xv-QBHoM-DR618n9B)

**GDPR** related consents will be saved with cookie name **wpl\_viewed\_cookie.** \
**CCPA** Related consents will be saved with cookie name **wpl\_output\_cookie**.

Along with user choices **IP address, time and username (if logged in)** are saved in user consents.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wpeka.com/wp-gdpr-cookie-consent/consent-logging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
