> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.yanet.io/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).

# Configure Data Retention and Privacy Policy Link

### Overview 
Control how long shipment records are kept and show a privacy policy link on your tracking page.
**Step 1** Go to **Settings → Legal**.

**Step 2** Turn on **Automatic deletion of shipment records** to delete shipment and tracking records after the retention period.
![](https://storage.crisp.chat/users/helpdesk/website/-/3/7/f/d/37fde77105fa8400/image_c8sbzu.png)

**Step 3** Under **Retention period**, choose how long records are kept before automatic deletion. The default is **Never (keep forever)**.
![](https://storage.crisp.chat/users/helpdesk/website/-/3/7/f/d/37fde77105fa8400/image_1j7hsi4.png)

**Step 4** Under **Privacy Policy Link**, click **Open Tracking Page settings** to edit the URL and label for each language.
![](https://storage.crisp.chat/users/helpdesk/website/-/3/7/f/d/37fde77105fa8400/image_nit3zh.png)
### Result 
Old records are removed automatically and customers can open your privacy policy from the tracking page.
| Note: According to §147 AO, business-relevant documents must be retained for 10 years. Archive your tracking data elsewhere before it is deleted.