---
updatedAt: 2026-11-13T13:37:49.000Z
agentTools:
  projectIndex: https://docs.datadome.co/llms.txt
---

# Cookies and stored data

As a part of its services, DataDome makes available cookies and technologies that are deployed by customers who operate websites, mobile apps, APIs, and agentic endpoints.

| Name               | Type            | Purpose                                                                                                                                                                                                    | Expiration                | Size                 | Platform    |
| :----------------- | :-------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------ | :------------------- | :---------- |
| datadome           | Cookie          | Used for both server-side and client-side detection to assess the legitimacy of a request. The cookie's data is encrypted for security and does not contain any personally identifiable information (PII). | 1 year                    | 128 bytes, up to 512 | Web, Mobile |
| dd\_testcookie     | Cookie          | Used by the JS Tag to assess if the current context can save cookies.<br />It is added then removed instantaneously, and is not persisted.                                                                 | N/A                       | 1 byte               | Web         |
| ddSession          | Local Storage   | Duplicate of the `datadome` cookie.<br />Only exists when the [sessionByHeader](https://docs.datadome.co/docs/how-to-configure-the-javascript-tag#sessionbyheader) option is enabled on the JS Tag.                                  | Set by end user's browser | 128 bytes, up to 512 | Web         |
| ddOriginalReferrer | Session Storage | Stores the referrer value when a Device Check or CAPTCHA is triggered for later restoration.                                                                                                               | End of session            | Up to 2048 bytes     | Web         |

<Callout icon="📘" theme="info">
  # Recommendations

  Operations such as blocking, tampering, or deleting the data listed above can result in issues or unexpected behaviors.

  We recommend to watch out for mechanisms that can run such operations and do any necessary actions to prevent them.

  ## Examples of unwanted tampering

  * Changing the `Domain` or `Path` attributes on the `datadome` cookie
  * Adding the `HttpOnly` attribute to the `datadome` cookie
</Callout>

# Sibling pages

* [Bot Authentication](https://docs.datadome.co/docs/bot-authentication.md)
* [DataDome Slider](https://docs.datadome.co/docs/datadome-captcha.md)
* [Device Check](https://docs.datadome.co/docs/device-check.md)
* [Key rotation](https://docs.datadome.co/docs/key-rotation.md)
* [Custom Data Enrichment](https://docs.datadome.co/docs/custom-data-enrichment.md)
* [Advanced Response Page Customization](https://docs.datadome.co/docs/advanced-response-page-customization.md)
* [Connecting to the DataDome MCP Server](https://docs.datadome.co/docs/connecting-to-the-datadome-mcp-server.md)
* [AI Key Takeaways](https://docs.datadome.co/docs/ai-generated-key-takeaways.md)
* [Response Page Custom CSS](https://docs.datadome.co/docs/response-page-custom-css.md)
* [Response Page Custom JavaScript](https://docs.datadome.co/docs/response-page-custom-javascript.md)
* [Response Page Customization Example: Analytics Event Tracking](https://docs.datadome.co/docs/response-page-customization-example-analytics-tracking.md)