When plugin is added to the page, it starts to block all cookies until user accepts cookies. Group cookies from the group chosen will be accepted, all other cookies will be blocked.
Cookies Management have 2 modes to choose from: Simple Mode or Group Mode
- Simple Mode - In this mode, all cookies are allowed after cookies consent is accepted.
- Group Mode - In this mode, there are configurable groups of cookies that the admin can set what cookies are in the group. The site users can choose which group of cookies he wants to allow to gather data.
Popup Style - To change how the popup is styled, you can change it in: _dev > assets > js > init.js
Box Skin - To change skin of the popup, you can change it in: _dev > assets > js > init.js
Gear Icon - To change the color and position of the gear icon, you can change it in: _dev > assets > js > init.js
- cookies_groups_design - Here you can select skin for cookies group select.
- assets_path - With this option you can define absolute path to assets.
parent_container - append this plugin to this parent container element.
always_show - When this option is set to ‘true’, the popup will always show even when consent is given.
gear_display - When this option is set to ‘true’, this option will show the gear icon for the cookie settings.
popup_text - Text description inside the popup.
popup_title - Title for popup.
accept_button_text - Text for the accept button.
read_button_text - Text for the read more button.
read_more_link - URL for where link redirects to.
advenced_button_text - Text for the cookie settings button.
grouped_popup - When this option is set to ‘true’, Group Mode is activated.
default_group - This will be the default active group selected when the cookie consent is given.
content_before_slider - Text at the top of the cookie settings. HTML is allowed.
accepted_text - Text for the title of the cookie descriptions in the left side of the cookie settings.
declined_text - Text for the title of the cookie descriptions in the right side of the cookie settings.
save_btn - Text inside the button to save/close the cookie settings.
prevent_cookies_on_document_write - Prevent cookies on document write when there is no agreement for cookies.
check_country - Check if the IP of the user is from EU countries and only show the cookie consent in these countries.
cookies_expire_time - Set number of days cookie is saved. 0 if you want cookies destroyed when browser is closed, or unlimited for forever.
cookies_path - Set custom path. / for global, your_path for custom path, or current for current path.
countries_prefixes - Abbreviation of the EU countries that the cookie consent is shown.
reset_link_selector -
Note
Whitelist cookies are cookies that are allowed even if you choose to Block all cookies in the site.
first_party_cookies_whitelist - List of first party cookies that will be allowed.
First party cookies are cookies generated by your site.
third_party_cookies_whitelist - List of third party cookies that will be allowed.
Third party cookies generated from the third party’s site is allowed despite the group choice.
To add the third party cookies in the whitelist, add the sites script.
Example:
third_party_cookies_whitelist: ['https://maps.googleapis.com*','https://www.youtube.com'],Example for Invisible recaptcha:
third_party_cookies_whitelist: ['https://www.google.com/recaptcha*','https://www.gstatic.com/recaptcha*'],
name - Name for the group.
enable - Set to true/false, disable/enable this group.
icon - Class for icon from font awesome collection.
list - Array list of text for the options for this group.
blocked_url - Array of scripts’ URLs for the cookies that you want to unblock. It’s for 3rd party cookies, this is an array with list of scripts links. When user accept for this group, all cookies created with scripts from this list will be created.
Note
Sample format on adding the scripts:
local_cookies_names - Array of local cookies names to be unblocked. It’s for 1st party cookies ONLY but it works similarly as url list. When user will choose this group cookies from this list will be allowed on the site.
Note
Cookies must be added to groups to be able to accept and allow cookies. The cookie groups uses a slider to choose which group/s you would like to allow in the site. The cookies in the group that is in the slider’s border are allowed in the site.
An example is Google Analytics Tracking in group 3:
When the user wants to allow Google Analytics Tracking, user should choose the 3rd group or above for it to be allowed.
- check_country - Set to true/false, to activate/deactivate the geolocation of the plugin.
- countries_prefixes - The array for the countries that the plugin is set to work.
Note
If Geolocation is activated, the plugin will only work for people that are connecting from the countries that are set in the array.
prevent_forms_send - When this option is set to ‘true’, forms will get a checkbox with information that need to be checked before it can send the form.
prevent_forms_text - Text that will be written beside the checkbox.
prevent_forms_exclude - Array of classes and id, Forms that are added in the array are excluded to have this checkbox.
on - Set to true/false, to activate/deactivate the cookie config.
parametr - The parameter to add in the URL to access cookie config modal.
- dependencies - Array of dependencies that will be included on the page by GDPR plugin.
- debug - Set to true/false, to activate/deactivate debug mode.
When this option is activated, plugin comes into debug mode which means that in console we can see:
- 1st party cookie names (local cookies)
- 3rd party cookies urls
- blocked urls