# Policy Data

Policy Data shows the third party companies, their purpose, and applicable privacy policy or cookie policy link in the form of a table

If you are starting with a new website, we recommend [WP Legal Pages - GDPR Cookie Policy Generator Plugin](https://club.wpeka.com/product/wplegalpages/?utm_source=gitbook\&utm_content=docs)

WP Legal Pages automatically generates the 3rd Party Cookie Table.

### **Shortcode**

**If you have an existing Cookie Privacy Policy page:**  &#x20;

To embed a third-party cookie details table: Use the shortcode ***\[wpl\_cookie\_details]*** to display cookie policy data on the pages and/or posts.

Open the Cookie Policy Page on the WordPress editor and paste the shortcode under the 3rd Party Cookies.&#x20;

![](https://287138243-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhngEwtvWDX8DN03PMk%2F-LzpKajrb-7bAWSdd7FC%2F-Lzp_59GW8a2qLShcksB%2FScreenshot%202020-01-30%20at%202.00.38%20PM.png?alt=media\&token=361567fc-edc5-425a-820d-8fe36e88bee0)

Instead of shortcode, you can also use Gutenberg Block named as '**GDPR Cookie Details**'

![](https://287138243-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhngEwtvWDX8DN03PMk%2Fuploads%2FDe06N9jVwfRNqEDTzu86%2FGDPR%20Cookie%20Details%20Block.jpg?alt=media\&token=fd46c4b8-8abf-4265-a0c0-ba7b80bb1d8e)

![](https://287138243-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhngEwtvWDX8DN03PMk%2Fuploads%2FJuqIsLIxho29WQKICeaO%2FGDPR%20Cookie%20Details%20Block%20-%20Cookie%20Table%20\(1\).jpg?alt=media\&token=fdfa034d-a796-4639-bfd2-5c8774205367)

{% hint style="info" %}
***Please note that \[wpl\_cookie\_details] does not display the scanned cookie details, instead it displays the Cookie Policy Data in your Legal Pages or any other pages where the shortcode is added.***
{% endhint %}


---

# 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/how-add-3rd-party-cookie-details-table-to-gdpr-cookie-policy-on-website.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.
