How to display category wise cookie list in the privacy overview popup
With the GDPR Cookie consent plugin, you can list out all your cookies of a specific category within the privacy overview pop up window in the following manner as shown in the below image:
You can achieve the above layout for your privacy overview pop-up window by using a simple shortcode as shown below.
[cookie_audit]
Prior to proceeding to the steps detailed below, ensure that your site is scanned for cookies and all the cookies are identified and categorized.
Follow the steps below to obtain the desired pop up layout.
- Navigate to the Cookie Category section to insert the shortcode.
- Edit the category for which the cookie list has to be displayed as shown below:
[cookie_audit category="category-slug"]
[cookie_audit category="analytics"]
[cookie_audit columns="cookie,description" category="category-slug" style="winter"]
[cookie_audit columns="cookie,description" category="analytics" style="winter"]
Likewise, you can insert the shortcode for all other categories also to get the cookies to be listed in it. To know more about other shortcodes available in the plugin and its usage, refer to the article Shortcodes used in the GDPR Cookie consent plugin.
Comments (6)
Luca Tommasi
April 7, 2020
Hi,
I did it but in my cookie settings, i see the shortcode.
How tfix?
Best regards,
Mark
April 8, 2020
Please create a ticket here.
Geoffroy de Ribou
April 17, 2020
I have the same issue!
Mark
April 17, 2020
Please make sure that no additional characters or HTML codes were added to the shortcode while you copied it. You can check in the TEXT view on top right corner of the input box to see the content without formating.
Sebastian Bung
December 20, 2019
How to change the displayed name of a column?
Sebastian Bung
December 20, 2019
Here’s the code:
jQuery(‘#cliSettingsPopup > div > div > div > div > div > div.cli-col-12.cli-align-items-stretch.cli-px-0.cli-tab-section-container > div > div.cli-tab-content > div > table > thead > tr > th.cookielawinfo-column-3’)
.html(‘Your text’);
I’m not so sure about the #1 customer support thing anymore