📄 Official Documentation

SKT Cookie Consent

A comprehensive GDPR, CCPA, LGPD & ePrivacy compliant cookie consent plugin for WordPress. Manage banners, script blocking, geo-targeting and full consent audit logs — all from one dashboard.

✓ GDPR Ready ✓ CCPA Ready ✓ LGPD Ready ✓ ePrivacy Ready

Table of Contents

  1. Introduction & Features Overview
  2. System Requirements
  3. Installation Guide
  4. Dashboard
  5. Cookie Types
  6. Cookies List
  7. Script Blocker
  8. Cookies Settings
  9. Banner Settings
  10. Banner Designs
  11. Banner Templates
  12. Consent Logs
  13. Compliance Laws Reference
  14. Frontend Display
  15. Frequently Asked Questions
  16. Troubleshooting

Introduction & Features

SKT Cookie Consent is a lightweight yet powerful WordPress plugin developed by SKT Themes. It helps website owners comply with international cookie consent laws by displaying a fully customizable consent banner, blocking third-party scripts until users give consent, and maintaining a detailed audit log of every consent action.

Multi-Law Compliance
Supports GDPR, CCPA, LGPD, and ePrivacy laws with geo-targeting.
Banner Designer
Full control over banner colors, fonts, buttons, borders and layout.
Script Blocker
Block GA4, Meta Pixel, GTM and 20+ third-party scripts until consent.
Consent Logs
Full audit trail with IP, country, date and consent status per visitor.
Geo-Targeting
Show GDPR banner to EU visitors and CCPA banner to US/CA visitors.
Cookie Categories
Necessary, Marketing, Analytics, Preferences and Unclassified types.
Multiple Templates
Display as a Banner (top/bottom), Popup, or floating Widget.
Cookie Inventory
Declare every cookie your site uses with name, domain, duration and purpose.

System Requirements

Before installing the plugin, ensure your server meets the following minimum requirements:

RequirementMinimum VersionNotes
WordPress5.5 or higherTested up to WordPress 6.9
PHP7.2 or higherPHP 8.0+ recommended
MySQL5.6 or higherRequired for consent log tables
BrowserAny modern browserChrome, Firefox, Safari, Edge
User RoleAdministratorAll settings require manage_options capability

Installation Guide

There are two ways to install SKT Cookie Consent. Choose the method that works best for you.

Method 1 — Upload via WordPress Admin (Recommended)

1
Download the Plugin ZIP

Download the skt-cookie-consent.zip file from WordPress.org Plugins.

2
Navigate to Add New Plugin

In your WordPress admin, go to Plugins → Add New → Upload Plugin

3
Upload the ZIP File

Click Choose File, select your skt-cookie-consent.zip, then click Install Now

4
Activate the Plugin

Once installed, click Activate Plugin

5
Access the Dashboard

After activation, a new SKT Cookie menu will appear in your WordPress admin sidebar. Click it to open the Dashboard.

Method 2 — Upload via FTP

1
Unzip the File

Extract the downloaded skt-cookie-consent.zip to get the skt-cookie-consent folder.

2
Upload via FTP

Using an FTP client (FileZilla, etc.), upload the folder to /wp-content/plugins/ on your server.

3
Activate from WordPress Admin

Go to Plugins → Installed Plugins, find SKT Cookie Consent and click Activate


Dashboard

The Dashboard is your central hub for viewing consent statistics at a glance. It shows real-time totals of how your visitors are responding to the cookie banner.

SKT Cookie → Dashboard
SKT Cookie Consent Dashboard

Consent Statistics Cards

At the top of the Dashboard you will see four stat cards:

CardWhat It Shows
Total ConsentsThe total number of times visitors have responded to the cookie banner.
AcceptedCount of visitors who clicked "Accept All" or accepted all cookie categories.
RejectedCount of visitors who clicked "Reject All" or declined all non-essential cookies.
CustomisedCount of visitors who chose specific categories (partial consent).

Consent Distribution Chart

Below the stat cards, a doughnut chart visually shows the percentage breakdown of Accepted, Rejected, and Customised consents. The chart only appears once you have recorded at least one consent.

Dashboard — Consent Chart & Recent Logs
Dashboard Consent Chart

Recent Consent Logs

The dashboard also displays the 5 most recent consent records in a table showing the visitor's IP address, country, consent status, and date. Click View All Logs to see the full consent log.

Quick Links

Eight quick-link cards at the bottom give you one-click access to every section of the plugin: Cookie Types, Cookies List, Script Blocker, Banner Settings, Banner Designs, Banner Templates, Consent Logs, and Cookie Settings.

Cookies List

The Cookies List page is your cookie inventory — a register of every individual cookie your website uses. This is required for compliance with GDPR and similar laws, which mandate that websites declare all cookies they set.

SKT Cookie → Cookies List — Add New Cookie Form
Cookies List - Add New Cookie

Adding a New Cookie

1
Navigate to Cookies List

Go to SKT Cookie → Cookies List. The "Add New Cookie" form appears at the top of the page.

2
Fill in the Cookie Details

Complete all fields in the form (see the field reference table below).

3
Click "Save Cookie"

Submit the form. The cookie will appear in the table below the form.

Cookie Form Fields

FieldDescriptionExample
Cookie Name RequiredThe exact name of the cookie as set in the browser._ga
Cookie Domain RequiredThe domain that sets this cookie..yoursite.com
Duration RequiredHow long the cookie persists in the browser.2 years
Cookie Type RequiredSelect a category (Necessary, Analytics, Marketing, etc.).Analytics
Storage Type RequiredHow the cookie data is stored in the browser.HTTP Cookie
Cookie Purpose RequiredA human-readable description of what the cookie does.Used to distinguish users for Google Analytics

Storage Type Options

OptionWhen to Use
HTTP CookieStandard browser cookie sent with every HTTP request. Most common type.
HTML Local StorageData stored in the browser's localStorage API. Not sent with requests.
IndexedDBBrowser database storage for larger structured data.
Cookies List — Existing Cookies Table
Cookies List Table

Managing Existing Cookies

All declared cookies appear in a table below the form showing Cookie Name, Domain, Duration, Type, Storage Type, and Purpose. From this table you can:

ActionHow
Edit a cookieClick the Edit link next to the cookie. The form above will pre-fill with the cookie's data.
Delete a cookieClick the Delete link. The cookie is permanently removed from the list.

Script Blocker

The Script Blocker is one of the most powerful features of SKT Cookie Consent. It automatically prevents third-party tracking scripts from loading until a visitor gives their consent — ensuring you are truly compliant, not just displaying a notice.

SKT Cookie → Script Blocker
Script Blocker Settings

How It Works

When the Script Blocker is enabled, all scripts in its list are prevented from loading on page load. Once a visitor accepts cookies (fully or partially), the blocked scripts are activated immediately without requiring a page reload.

Built-in Scripts

The plugin includes a pre-configured list of 20+ commonly used third-party scripts that can be toggled on/off:

GA4 Analytics
Google Analytics 4 tracking scripts.
Meta Pixel
Facebook / Meta Pixel tracking.
Google Tag Manager
GTM container scripts.
Hotjar Analytics
Session recordings & heatmaps.
YouTube Embed
YouTube video embeds.
Google Maps
Google Maps embeds.
Tawk Widget
Tawk.to live chat.
Matomo Analytics
Self-hosted analytics.

Additional built-in scripts include: Vimeo Embed, Google Publisher Tag, AddToAny, ShareThis, X (Twitter) Widget, Soundcloud, Slideshare, LinkedIn, Instagram, Pinterest, Hubspot, Google reCAPTCHA, Google AdSense.

How to Configure the Script Blocker

1
Go to SKT Cookie → Script Blocker

Navigate to the Script Blocker page in your admin dashboard.

2
Enable the Script Blocker

Toggle the main Enable Script Blocker switch to ON at the top of the page.

3
Enable Individual Scripts

In the scripts table, use the toggle next to each script name to enable blocking for that specific script. Only enabled scripts will be blocked.

4
Add Custom Scripts (Header / Body / Footer)

For scripts not in the default list, paste your custom <script> tags into the Header Scripts, Body Scripts, or Footer Scripts text areas. These will also be blocked until consent is given.

5
Save Changes

Click Save Changes to apply the script blocker configuration.

⚠️ Important

For GA4, Meta Pixel, Hotjar, HubSpot, and similar analytics scripts, you must also enter their tracking IDs in Cookies Settings so the plugin knows how to fire them after consent is granted.

Cookies Settings

The Cookies Settings page is where you configure your analytics and tracking IDs. These IDs are used by the Script Blocker to fire the correct scripts after a visitor grants consent.

SKT Cookie → Cookies Settings
Cookies Settings

Available Tracking Settings

SettingDescriptionExample Value
Google Analytics 4 IDYour GA4 Measurement ID. Used to fire the GA4 tracking script after Analytics consent.G-XXXXXXXXXX
Meta Pixel IDYour Facebook/Meta Pixel ID. Fires after Marketing consent is granted.1234567890
Google Tag Manager IDYour GTM Container ID. Loads the GTM container after consent.GTM-XXXXXXX
Hotjar Site IDYour Hotjar tracking ID. Fires session recordings after Analytics consent.1234567
HubSpot Portal IDYour HubSpot portal ID for tracking scripts.12345678
Google AdSense Publisher IDYour AdSense publisher ID for ad scripts.pub-XXXXXXXXXXXXXXXX
Matomo Site ID & URLYour Matomo site ID and the URL where Matomo is installed.1 / https://analytics.yoursite.com/

How to Configure

1
Go to SKT Cookie → Cookies Settings

Open the Cookies Settings page from the admin menu.

2
Enter Your Tracking IDs

Fill in the IDs for all tracking tools you use on your website. You only need to fill in the services you actually use — leave others blank.

3
Enable in Script Blocker

Make sure the corresponding script is also toggled ON in the Script Blocker page so it gets blocked until consent.

4
Save Changes

Click Save Changes.

💡 Tip

If you use Google Tag Manager, you only need to enter your GTM ID here. Configure all your other tracking tools (GA4, Meta Pixel, etc.) inside GTM instead of entering multiple IDs here.

Compliance Laws Reference

SKT Cookie Consent supports four major privacy/cookie laws. Here is a quick reference to help you choose the right law for your website:

LawRegionKey Requirement
GDPR European Union Requires explicit, informed, freely-given consent before non-essential cookies are set. Must offer easy opt-out.
CCPA California, USA Requires informing users about data collection and giving them the right to opt-out of the "sale" of personal data.
LGPD Brazil Similar to GDPR — requires consent for data processing and gives individuals rights over their personal data.
ePrivacy European Union The EU Cookie Directive — requires prior informed consent before placing cookies or similar tracking technologies.
⚠️ Legal Disclaimer

This plugin helps you implement cookie consent mechanisms, but is not a substitute for legal advice. Consult a qualified legal professional to ensure your website is fully compliant with all applicable privacy laws for your specific situation.

Frontend Display

Once configured, the cookie consent banner automatically appears on your website's frontend for new visitors and visitors who haven't yet given consent.

Frontend — Cookie Consent Popup (Default View)
Frontend Cookie Consent Popup
Frontend — Popup with Overlay
Frontend Popup with Overlay
Frontend — Expanded Preferences View
Frontend Expanded Preferences

How the Frontend Works

1
First-time Visitor

When a new visitor lands on your site, the cookie banner appears based on your template settings (Banner, Popup, or Widget).

2
Visitor Makes a Choice

The visitor can click Accept All, Reject All, or Customise to select specific categories. Their choice is recorded in the Consent Logs.

3
Scripts Fire (or Stay Blocked)

Based on the visitor's choice, the Script Blocker immediately activates the allowed tracking scripts without requiring a page reload.

4
Consent is Remembered

The visitor's consent is stored in a cookie. On return visits, the banner won't appear again until the consent expires or is manually reset.

5
Customise Panel

If the visitor clicks Customise, an expanded panel shows all enabled cookie categories with toggle switches. The visitor can individually accept or reject each category and save their preferences.

Frequently Asked Questions

The banner is not showing on my website. What should I check?

First, ensure the plugin is activated in Plugins → Installed Plugins. Then check that Banner Templates is configured and saved. If you have already accepted consent in your browser previously, clear your browser cookies or test in an incognito/private window where no cookie is stored.

Can I show different banners to visitors from different countries?

Yes. Select GDPR + CCPA as your privacy law in Banner Settings. Then configure the Geo-Targeting settings to assign countries to the correct law. EU visitors will see GDPR messaging and US/California visitors will see CCPA messaging.

Do I need to enter all tracking IDs in Cookies Settings?

Only enter IDs for the services you actually use on your website. If you use Google Tag Manager to manage all your scripts, you can enter just the GTM ID and manage everything else inside GTM.

What is the difference between Banner Settings and Banner Designs?

Banner Settings controls the text content — the heading, messages, and privacy policy link. Banner Designs controls the visual appearance — colors, fonts, buttons, and borders.

How do I add a cookie to the Cookies List?

Go to SKT Cookie → Cookies List and fill in the Add New Cookie form at the top of the page. Enter the cookie name, domain, duration, type, storage type, and purpose, then click Save Cookie.

Can I hide the banner on specific pages?

Yes. In SKT Cookie → Banner Templates, scroll down to the "Hide on Pages" section and select the pages where you don't want the banner to appear (e.g. your Privacy Policy or Cookie Policy page).

How do I reset all consent logs?

Go to SKT Cookie → Consent Logs, select all entries using the checkboxes, and use the Bulk Delete option to remove them.

Is the Necessary cookie category always shown?

Yes. The Necessary category is always enabled and cannot be disabled. It is also always displayed as active in the preferences panel because essential cookies are required for the website to function and do not require visitor consent.

Troubleshooting

Banner Not Showing

CheckSolution
Plugin not activatedGo to Plugins → Installed Plugins and activate SKT Cookie Consent.
Browser already has consent cookieOpen an incognito/private browser window and test again.
Banner disabled on the pageCheck Banner Templates → Hide on Pages to make sure the current page is not excluded.
Caching plugin interferenceClear your caching plugin's cache and test again.
JavaScript errorOpen your browser's developer console (F12) and check for any JavaScript errors.

Scripts Still Loading Before Consent

CheckSolution
Script Blocker not enabledGo to Script Blocker and ensure the master toggle is ON.
Individual script not toggled onIn the Script Blocker scripts table, ensure the specific script's toggle is enabled.
Script added via another pluginIf a caching or header-injection plugin adds the script independently, it may bypass the blocker. Add it manually in the Custom Scripts section.
Tracking ID not enteredEnsure the tracking ID for the service is entered in Cookies Settings.

Consent Logs Not Being Recorded

CheckSolution
Consent logging disabledCheck in Cookies Settings that consent logging is enabled.
Database tables missingDeactivate and reactivate the plugin. Activation automatically creates the required database tables.
Server-level cachingIf your host has server-level caching, the AJAX calls used to log consent may be cached. Contact your host.

Settings Not Saving

CheckSolution
Insufficient permissionsEnsure you are logged in as a user with the Administrator role (requires manage_options capability).
Security plugin blockingSome security plugins block options API requests. Check your security plugin's logs.
Nonce expiredIf a settings page has been open for a long time, the security nonce may expire. Refresh the page and try again.
💡 Still Need Help?

If you continue to experience issues after following the troubleshooting steps above, please contact SKT Themes with a description of your issue, your WordPress version, PHP version, and the steps you've already taken.

SKT Cookie Consent · Developed by SKT Themes