> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.hoppyapps.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 🗄️ Consent Log Retention, Export & Google Drive Backup

Every time a visitor accepts, declines, or updates their cookie choices, **GDPR EU Cookie Banner** records the choice as a consent log. These logs act as proof of consent if you ever need to show what a visitor agreed to.

This guide explains how long logs are kept, how to export them, and how to back them up to Google Drive.

---

# **⚠️ Before You Begin**

Make sure:

* Your Cookie Banner is published and collecting choices  
* You have a Google account if you want to use the Google Drive backup

💡 The **Consent logs** page is marked **Beta** in the app, as is the Google Drive backup.

---

# **🗄️ How Long Are Consent Logs Kept?**

Consent logs are kept for **2 years after the choice was recorded**.

* Each time a visitor accepts, declines, or saves preferences, a new log is created  
* Once the 2 years have passed, the log is deleted automatically

The retention period is fixed. There is no setting in the app to change it.

⚠️ Logs created before this retention rule was added do not have an expiry date and are not deleted automatically.

💡 If you need to keep records for longer than 2 years, export them or back them up to Google Drive before they expire.

---

# **👀 View Your Consent Logs**

➡️ Open **GDPR EU Cookie Banner**

➡️ Click **Consent logs** in the left menu

The page has three tabs:

* **Policy Acceptances** — your consent logs  
* **Data Requests** — privacy requests submitted by customers  
* **Reset Given Consent** — reset stored choices

In **Policy Acceptances** you can see:

* **Accepted Page** — the page where the visitor made the choice  
* **Given Consent** — the categories they accepted (Marketing, Analytics, Functional)  
* **IP Address** — shown partly masked in the table  
* **Created At** — shown in the timezone you selected. See **🕒 How to Set Your Timezone for Logs and Reports**.

You can search by page or IP address and filter by consent type.

---

# **📤 Export Consent Logs as CSV**

➡️ Open **Consent logs → Policy Acceptances**

➡️ Optionally search or filter the list

➡️ Click **Export CSV**

A file named `consent-logs-` followed by the date is downloaded to your computer.

⚠️ The export contains the stored record for each log, which can include more detail than the table shows, such as the full IP address. Treat the file as personal data and store it securely.

---

# **☁️ Back Up to Google Drive**

You can send your records to Google Drive as CSV files.

## **Step 1 — Open the Integration**

➡️ Click **Integrations** in the left menu

➡️ Open **Google Drive Backup**

## **Step 2 — Connect Your Google Account**

➡️ Click **Connect** next to **Google Drive connection**

➡️ Sign in with Google and allow access

The badge changes from **Not signed** to **Connected**. You can use **Change** later to reconnect with another account.

## **Step 3 — Choose What to Back Up**

* **Consent records backup** — set to **On** to include consent logs  
* **Customer data requests backup** — set to **On** to include data requests

## **Step 4 — Enable and Save**

➡️ Click **Enable** so the status reads **Google Drive Backup is currently Enabled**

➡️ Click **Save** in the save bar

## **Step 5 — Run a Backup**

➡️ Open **Consent logs**

➡️ Click **Back up to Google Drive** at the top right

The app uploads CSV files named `consent-logs-` and `data-requests-` followed by the date into a folder called **GDPR Backups** in your Google Drive. A message confirms what was uploaded, for example how many consent logs were backed up.

⚠️ Backups run only when you click the button. They are not scheduled, so run one regularly if you want an up-to-date copy.

### **Expected Result**

* The folder **GDPR Backups** appears in your Google Drive  
* It contains CSV files for the data you turned on

---

# **🛠️ Troubleshooting**

**"Google Drive Backup is disabled":** open the integration, click **Enable**, and save.

**"Nothing to back up":** turn on **Consent records backup** and/or **Customer data requests backup**, then save.

**"Not connected" or reconnect error:** click **Connect** (or **Change**) and sign in again.

**Skipped: no consent logs to back up:** there are no logs yet. Logs appear after visitors interact with the banner.

**Export button does nothing:** check that your browser is not blocking downloads. For data requests, see **📋 How to Complete and Export Data Requests**.

---

# **⚠️ Important Notes**

* Retention is 2 years from the date each log was recorded  
* Resetting consent under **Reset Given Consent** deletes or changes stored choices, so export first if you need a copy  
* Data requests are not deleted by the 2-year rule

---

# **🎉 Final Result**

✅ You know how long consent proof is kept

✅ You can export logs to CSV at any time

✅ You can keep an off-site copy in Google Drive