PubConsent

Cookie Table on Page

2min

After configuring your PubConsent CMP, you might need to have a privacy page with a table containing information about all the cookies you have configured in our platform. To meet this need, we have created a JavaScript script that dynamically injects an HTML table into a specific element on the page, providing an easy and immediate way to examine the cookies active on the platform.

In this guide, we will illustrate how to integrate this script into your web page and use it to display a complete table of configured cookies. With this tool, your users can have greater awareness regarding data management, ensuring compliance with privacy regulations and transparency in cookie usage.

Before proceeding, make sure you have the script related to PubConsent CMP on the same page.

To integrate the script, simply create a "div" element on the page with the "id" attribute set to "pubconsent-cookie-table".

HTML


Right after this element, add the following code:

HTML