Cookies policy
COOKIE CONSENT PANEL «PD COOKIE CONSENT»
 S. GRAMAGE HOGAR SL
 CALLE TELER, 50 – 46870 ONTINYENT (València) – SPAIN
1. Functionality that inserts a cookie consent panel and blocks elements that could insert them
"PD Cookie Consent" is a JavaScript library that aims to facilitate the blocking of those DOM elements that could embed cookies and serves so that the website technician can insert a pop-up window (banner) that warns the visitor about the existence of cookies, in addition to providing a means for managing those elements that could generate them, blocking them and preventing them from generating them until they are subsequently unblocked by the visitor.
2. How to insert the library into our website?
VERY IMPORTANT – STEP 1
Insert the following library and its styles between the <head>...</head> tags, placing the library script above any other script or link that may be between these tags.
If this step is not followed as described, "PD Cookie Consent" will not function properly.
 <link rel="stylesheet" href="https://pdcc.gdpr.es/pdcc.min.css">
 <script charset="utf-8" src="https://pdcc.gdpr.es/pdcc.min.js"></script>
 <script type="text/javascript">
 PDCookieConsent.config({
 "brand": {
 "dev": true,
 "name": "AMALTEA PRIVACY",
 "url": "https://amalteaconsultoria.es",
 "websiteOwner": ""
 },
 "showRejectButton": true,
 "cookiePolicyLink": "",
 "hideModalIn": [""],
 "styles": {
 "primaryButton": {
 "bgColor": "#EEEEEE",
 "txtColor": "#333333"
 },
 "secondaryButton": {
 "bgColor": "#EEEEEE",
 "txtColor": "#333333"
 },
 "rejectButton": { 
"bgColor": "#EEEEEE",
 "txtColor": "#333333"
 }
 }
 });
 </script>
VERY IMPORTANT – STEP 2
If it doesn't exist, put the Cookie Policy URL between the quotation marks in the following tags to display the shortcut with all the information about cookies:
 "cookiePolicyLink": "https://www.muarehome.com/politica-de-cookies",
 "hideModalIn": ["https://www.muarehome.com/politica-de-cookies"],
If this step is not followed as described, the consent banner will not be legitimate.
NOTE: If your website was developed using a CMS such as WordPress, Ghost, Shopify, Magento, Prestashop, Joomla, Drupal, or a similar platform, it's important to ensure that Step 1 is also followed.
If you're using a CMS, the best option, and one that will allow you to safely complete Step 1, is to modify your website's theme or templates—for example, in the case of WordPress, by creating a "child theme."
Please refer to the developer documentation provided by each of these platforms.
VERY IMPORTANT – STEP 3
The library offers a CSS property to access the banner when it's closed, and any element containing it will act as a button to open the panel. Simply select any DOM element, such as a link, and add the property:
 <a href="#" class="pdcc-open-modal">Panel Cookies</a>
Once the visitor clicks on the link, or another element containing the aforementioned property, the "PD Cookie Consent" panel configuration view will open.
3. How does PD Cookie Consent work?
When a visitor accesses the website, the PD Cookie Consent library monitors each element on the visited page, and if any of them meet the requirements for blocking, they are blocked.
Once all the elements on the page have been viewed, the library will display the "PD Cookie Consent" panel and generate a session cookie named "pd_cc," which is necessary for the page to function properly.
 NOTE: The panel will not appear automatically when only technical and functional cookies are present. For the panel to appear, either the library has blocked an element that could insert cookies, or the PDCookieConsent.blockList() method has been used.
In the first view of the panel, the visitor will be able to:
- Read the notice about cookies.
 - Click on the "Cookie Policy" link.
 - Accept all cookies on this website by clicking "Accept".
 - Reject all cookies from the website by clicking "Reject."
 - Go to the configuration view by clicking on “Configure”.
 
In the configuration view, the visitor will be able to:
- Go back with the link «← Back».
 - View the list of disallowed domains.
 - Accept or reject them independently.
 - View newly detected domains (indicated with “new”).
 - Accept or reject all at once.
 - Save the changes using the “Save Settings” button.
 
4. Information messages about blocked items
In addition to the "PD Cookie Consent" panel, the library also provides a message that will appear at the top of the website informing visitors of any visual elements that have been blocked and are therefore not being displayed.
The visitor will be able to:
- Find out about blocked content.
 - Accept all blocked items with "Accept All".
 - Open the configuration view by clicking “Configure”.
 
VERY IMPORTANT: The message primarily lists blocked iframes. To include scripts, you must set the "report": true property in PDCookieConsent.blockList() .
NOTE: The message will only appear when there are blocked elements that affect the visual appearance of the site or its functionalities.
5. Technical information
To understand how the PD Cookie Consent library works, it's important to know that it doesn't capture or block any type of cookie. PD Cookie Consent doesn't manage cookies; it manages the elements responsible for inserting them into the website (iframes, scripts, and noscripts).
During the website loading process, the library monitors each DOM element. When it detects an iframe, script, or noscript with a prohibited string, it blocks it to prevent it from loading and from inserting cookies without consent.
For example, if you block a YouTube video, it won't be displayed until the visitor manually allows it.
The text strings that facilitate automatic blocking are defined in the library itself, although the developer can add their own using the corresponding method.
MORE INFORMATION
Click here for technical information on script configuration.
For any questions or queries regarding this document, please contact AMALTEA CONSULTORÍA INTEGRAL, SL
 S. GRAMAGE HOGAR SL
 CALLE TELER, 50 – 46870 ONTINYENT (València) – SPAIN
 Email: administracion@sgpartners.es