This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Surbma | GDPR Proof Cookie Consent & Notice Bar


The Surbma | GDPR Proof Cookie Consent & Notice Bar plugin helps your website to comply with GDPR cookie regulations by asking every visitors to accept or decline cookies. If visitor choose to decline, than the tracking codes (Google Anayltics, Facebook Pixel) are not loading. If visitor accepts cookies, than the tracking codes (Google Anayltics, Facebook Pixel) are loading. So visitors can choose to be tracked or not, before they visit any page of the website. They even can change their minds and set again the cookies.

Demo link for Cookie Snackbar and Cookie Popup:
Snackbar & Popup DEMO
Demo link for Cookie Shortcodes:
Cookie list & Cookie revoke DEMO

All In One Tracking & Marketing Solution

This plugin manages its own codes, so you have to remove old Google Analytics and Facebook Pixel codes. It is an easy way to embed your tracking and marketing scripts, without coding and file modifications.

The Surbma | GDPR Proof Cookie Consent & Notice Bar plugin can be used as a simple Cookie Policy plugin, if you don’t have any tracking or marketing cookies on your website. Simple and beautiful solution for all websites.

The cookie saved by this plugin is not storing any sensitive personal data, it is storing only two fix values: “yes” or “no”. This cookie management is GDPR proof, as it is impossible to identify any user with the cookie data. Cookies will expire after 30 days by default.

Cache Proof Technology

The Surbma | GDPR Proof Cookie Consent & Notice Bar plugin is the first cookie notice solution, that is compatible with all kind of cache systems. It even works with all managed WordPress hostings’ server side cache solutions.

Limited Liability

This plugin does not substitute any legal adequacy. Texts, that are displayed in the popup is edited by the user of this plugin and I do not take any responsibility regarding GDPR adequacy or change.

Free version features

  • Google Analytics Cookie Management
  • Facebook Pixel Cookie Management
  • Snackbar Before Popup
  • Simple Cookie Policy Popup
  • Hide Decline Button
  • Cookie-Free Social Share Buttons
  • Cookie Scan Page
  • Live Cookie Scan Shortcode
  • Cookie Settings Link With Shortcode
  • Cookie Policy
  • Developer Friendly
  • WPML & Polylang Compatible

Additional features in the Pro version

  • 6 Positions For Snackbar
  • Full Customizations
  • Cookie Policy Link
  • Popup Styles
  • Popup Themes
  • Full Cookie Control
  • Google Analytics IP Anonymization
  • Google Analytics Tracking Code Customizations
  • Facebook Pixel Customer Identifiers Settings
  • Location and design settings for the Cookie-Free Social Share Buttons

Available languages

  • English (US)
  • Hungarian
  • Spanish (Spain)

Features in details

Simple Cookie Policy popup

If you don’t have such cookies on your website, that need visitor consent, you can use this plugin as a simple Cookie Policy popup, so you can inform your visitors about the cookies you use. It will show your informations in a beautiful popup and a link to your Cookie Policy page.

Hide Decline button

If you only want to show the Accept button, you can hide the Decline button.

Cookie-Free Social Share Buttons

You can add Facebook, Google Plus, Twitter, LinkedIn, Pinterest and Email Share Buttons to posts, pages or even custom post types. These share buttons are loading really fast (almost 0 impact in page load time) and they are not using any Cookies on your website. So you can exclude social sharing topic from your Cookie Policy page. Choose if you want to show the buttons before or after the content or both positions. There are pre-defined styles to choose from, but Social Share Buttons can easily changed via CSS.

There is a shortcode also for the social share buttons, that can be used anywhere on your website:


Cookie Scan page

This page will display all the saved cookies for you, so you can see, what cookies are used in your website.

Live Cookie Scan shortcode

You can display all the actual Cookies, a visitor has right now. It is not a full list of Cookies, that your website is using!

This is the shortcode: [surbma-live-cookie-scan]

It has 1 attribute:

cookievalue – Show or hide the Cookie values in the list.


    [surbma-live-cookie-scan cookievalue="false"]

Cookie Settings Link

There is a shortcode, that will place a link in your content. Clicking on the link will open the Cookie Popup again, and users can change their settings about the Cookie trackings.

This is the shortcode: [surbma-cookie-popup-link]

It has 2 attributes:

class – You can set the class of the link, so you can easily create a button like link.
text – You can change the default text of the link, which is “Open Cookie Settings”.


    [surbma-cookie-popup-link text="I've changed my mind about Cookie settings."]
    [surbma-cookie-popup-link class="button" text="Please show me the Cookie settings again!"]

Cookie Policy

Set your Cookie Policy page, where the popup won’t load for visitors. Cookie tracking codes are not loading on this page!

Developer Friendly

If you enable debug mode, popup will show always, on every refresh, so you can test how it works.

WPML & Polylang Compatible

If you have a multilingual website, you can set the texts for each language with WPML String Translation add-on.

Snackbar before Popup

Modest Snackbar before Popup display, so the first time is not that aggressive. The link in the Snackbar opens the Popup. Choose between 6 positions to show the Snackbar.

Full Customizations

Every text is customizable, even the button’s texts! You can also set the design of the buttons.

Cookie Policy Link

Show your Cookie Policy page link in the popup.

Popup Styles

There are popup styles to choose the look and feel of the popup: Default, Almost Flat and Gradient. Fit the style to your website easily.

Popup Themes

There are popup themes to choose the design, you like. The Full Page Themes are hiding the entire content behind the popup. There are a lot of design settings to make the popup fit your website design. Dark mode is also available.

Full Cookie Control

Set cookie expiration for visitors, so the popup won’t show again in X days, you set.

Google Analytics IP Anonymization

You might need to disable IP Anonymization of the hit sent to Google Analytics. This setting is active by default to ensure the maximum GDPR compliance, but you can disable this option.

Google Analytics Tracking Code Customizations

Choose between gtag.js framework or analytics.js library. You can also set, if you want to track logged in users or the admin area.

Facebook Pixel Customer Identifiers Settings

Add Facebook Pixel Customer Identifiers to your Facebook Pixel code. Improve the ability to match site visitors to people on Facebook by passing additional site visitor information (such as email address or phone number).

About Surbma

You can find my other plugins and projects on GitHub

Please feel free to contribute, help or recommend any new features for my plugins, themes and other projects.

Do you want to know more about me?

Visit my webpage:

Do you like and use my free plugins?

You can donate me for FREE here:


  • Cookie Popup in front-end
  • Cookie Snackbar in front-end
  • Settings page in admin
  • Cookie scan page in admin
  • Documentation page in admin
  • Pricing page in admin


  1. Upload surbma-gdpr-proof-google-analytics folder to the /wp-content/plugins/ directory
  2. Activate the GDPR Proof Cookie Consent & Notice Bar plugin through the ‘Plugins’ menu in WordPress
  3. Go to settings page: Settings -> GDPR Proof Cookies
  4. Set the Popup content, display options, tracking code settings and approve the Limited Liability option.
  5. That’s it. πŸ™‚


Is it really GDPR compatible?

This plugin shows a simple popup for every new visitors with two options: accept or decline the cookie tracking. If the visitor declines tracking, cookie tracking codes won’t activate. This plugin gives you all the tools to make your cookie tracking GDPR proof, but it is your responsibility to use it the right way.

What does Surbma mean?

It is the reverse version of my last name. πŸ˜‰


4 di ZenΓ’r dal 2021 2 replies
The plugin works great, I am using it on most of my websites. I would suggest one small thing: renaming the directory from “surbma-gdpr-proof-google-analytics” to “surbma-gdpr-proof” Some Ad blockers are blocking the script (“surbma-gdpr-proof-google-analytics/js/scripts-min.js”) from loading because of the google-analytics part in the name of directory. It’s a false positive and it makes the page look a bit broken. Also troubleshooting for regular users is not easy. Keep up the good work!
18 di Dicembar dal 2019 3 replies
No issues detected, could do with a few more options in the free version, but that’s just the nitpicking of a freeloader.
5 di Jugn dal 2018 1 reply
Easy to configure and works like as a charm. Recomended. Tested with Divi, Avada, Astra Theme and RT-Theme 19. Thank you Surbma.
26 di Mai dal 2018 1 reply
This is the 4th GDPR Cookie plugin I have tried and this is so simple to use and does exactly what is required. Well done Surbma πŸ™‚
Read all 10 reviews

Contributors & Developers

“Surbma | GDPR Proof Cookie Consent & Notice Bar” is open source software. The following people have contributed to this plugin.


“Surbma | GDPR Proof Cookie Consent & Notice Bar” has been translated into 3 locales. Thank you to the translators for their contributions.

Translate “Surbma | GDPR Proof Cookie Consent & Notice Bar” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



Release date: 2023-07-05


  • Freemius SDK updated to latest version.


Release date: 2023-07-05


  • Re-compiled files.


Release date: 2023-07-05


  • Freemius SDK updated to 2.5.9 version.


Release date: 2023-04-08


  • Freemius SDK updated to 2.5.6 version.


Release date: 2023-03-25


  • Plugin name changed in a notification to the current name.
  • Minor code optimizations.
  • Tested with WordPress 6.2 version.
  • Freemius SDK updated to 2.5.5 version.


  • Cross Site Scripting (XSS) vulnerability in the shortcode fixed, reported by yuyudhn.


Release date: 2022-03-03


  • Minor change for snackbar in css.


  • Tested with WordPress 5.9 version.
  • Freemius SDK updated to 2.4.3 version.


Release date: 2021-08-13


  • Popup text will display paragraphs automatically without special html code.
  • Popup text will be showed in a box with its own scroll bar, if text is too long. So buttons will be always visible.


  • Tested with WordPress 5.8 version.


Release date: 2021-05-18

Maintenance release.


  • CSS and JS files regenerated.
  • Freemius SDK updated to 2.4.2 version.


Release date: 2020-12-20


  • Freemius SDK updated to 2.4.1 version.
  • Tested with WordPress 5.6 version.
  • Version number management by (again).


Release date: 2020-10-10


  • Dependent files are loading only, if Limited Liability is enabled.
  • Social share parameters are escaped properly.
  • Social share links are fixed to follow the latest standards. Pinterest and LinkedIn seems removed support for link sharing.
  • Email share link opens in new tab.


Release date: 2020-10-03


  • Source JS file fix, so paths are pointing to the right folders.


  • CSS maps are regenerated.


Release date: 2020-10-03


  • Admin header fix to put the notices in the right place.
  • Minor CSS fix for full width Snackbar.


  • Admin UIkit version updated to 3.5.8 version.
  • Freemius SDK updated to version.
  • Tested with WordPress 5.5 version.

17.0 & 17.1

Release date: 2020-02-10

This version has no new feature, but has important changes under the hood. It is safe to update the plugin.


  • Tested with WordPress 5.3 version.
  • Freemius SDK updated to 2.3.2 version.
  • Updated to use a new way to deploy it to repo.


Release date: 2019-10-17

Freemius SDK updated to 2.3.1 version.


Release date: 2019-10-16


  • Social share icons paths are fixed.


Release date: 2019-10-07


  • Minor fix for modal header link focus.
  • LESS optimizations.


Release date: 2019-10-07

Added new shortcode for social share buttons.


  • New shortcode for social share buttons.
  • Social share buttons css is separated from the main css file.
  • Enqueued scripts and styles get the version from a global variable to follow the plugin’s version.


  • Modal z-index fixed to cover every layer.
  • Buttons hover states fixed.


Release date: 2019-07-01

This version is a maintenance release with important fixes. It is safe and recommended to upgrade the plugin on live installs. Changes are valid for free and pro versions also.


  • Freemius SDK updated to 2.3.0 version.

16.2 & 16.3

Release date: 2019-06-15

This version is a maintenance release with small fixes and modifications. It is safe to upgrade the plugin on live installs. Changes are valid for free and pro versions also. If you use the social share buttons, note that the design is changed.


  • Optimized share buttons code and css.
  • Genericons removed, new social-logos added.


  • Snackbar display fixed with debug mode on.
  • Freemius SDK integration updated.


  • Google+ share button removed.
  • Added UIkit 2 framework to plugin.


  • FIX – Security fix.


  • NEW – New Freemius SDK added with a new subscription account feature.
  • FIX – Admin CSS change to fix the background.
  • Minor changes in description.
  • Tested with WordPress 5.0 version.


  • Plugin name is changed to GDPR Proof Cookie Consent & Notice Bar
  • TWEAK – New main menu name and icon.
  • Minor changes in description.


  • FIX – License validation for Snackbar full width option is fixed.


  • FIX – Download link in admin now downloads the premium version, not the free version.
  • ENHANCED – Added Snackbar texts to WPML & Polylang config file.
  • PRO – New Freemius SDK added.


  • NEW – Added notifications for free and premium users in different situations.
  • ENHANCED – A lot of code optimization.


  • NEW – The long awaited and much requested Snackbar is available in the FREE version!


  • NEW – Cookie-Free Social Share Buttons! Yes, really Cookie-Free Social Share Buttons!
  • ENHANCED – Admin pages show the page titles in the header.
  • ENHANCED – Added global sidebar for admin pages.
  • TWEAK – The main submenu is renamed.
  • FIX – “Settings Saved” bar is displayed, when admin pages are saved.
  • FIX – Settings validation is fixed for free version.


  • PRO – Full width Snackbar.
  • TWEAK – New demo links added to the plugin’s description.


  • NEW – Added screenshots to plugin repository.
  • ENHANCED – Minor code optimization.


  • FIX – Popup display is not dependent of the Google Analytics settings anymore. Free all Popup!
  • ENHANCED – Code optimization and preparing for custom scripts. The big step is coming.
  • PRO & GDPR – New Freemius SDK, that will bring new GDPR compatible features for customers.


  • NEW – Facebook Pixel has arrived finally. More services are coming soon.
  • PRO – Facebook Pixel Customer Identifiers settings.
  • PRO – New Popup styles. Fit the style to your website easily.
  • FIX – Button alignment is working again.
  • FIX – If Decline button is hidden, no JS trigger for that button.
  • FIX – Accept button is not triggering Google Analytics send function, as the script is blocked.
  • ENHANCED – Cookie set script is modified to create multiple cookies. Preparing for Cookie categories.
  • ENHANCED – Minor code optimization.


  • FIX – Pro features are enabled for trial users also. Sorry!


  • FIX – Shame on me, new Snackbar didn’t see the surbma_gpga cookie. Now it works as expected.


  • PRO – The long awaited and much requested Snackbar is HERE!
  • NEW – Documentation menu with shortcode descriptions and how-tos.
  • ENHANCED – Minor changes in admin styles.
  • ENHANCED – Minor description changes.


  • NEW – Shortcode to show the actual Cookies for visitors: [surbma-live-cookie-scan]
  • NEW – Hide Decline button, if you don’t want to show it.
  • PRO – 7 days trial can be selected to try all PRO features.


  • FIX – Cookie Popup will load on Cookie Policy page with the [surbma-cookie-popup-link] shortcode.
  • FIX – Popup close X button format, to prevent underline text decoration.
  • ENHANCED – Google Analytics code will load on Cookie Policy page, if tracking is enabled.
  • ENHANCED – The whole script is embed in the condition to load or not.


  • NEW – Cookie Scan page added. This page will display all the saved cookies for you, so you can see, what cookies are used in your website.
  • FIX – Some texts were not set for localization. They all fixed.


  • NEW – The popup is loading now, even if no Google Analytics code has been added. So the plugin is working as a simple cookie policy popup.


  • NEW – Added Cookie Policy page setting to WPML config, so you can set the page for all languages. The page ID must be used as a “translation”.
  • ENHANCED – Description text modified.
  • FIX – Replaced old plugin names in admin area.
  • FIX – Future snackbar script conflict removed.


  • ENHANCED – Description text modified.


  • NEW – Changed plugin name: Surbma – GDPR Proof Cookies
  • This is the new version of my previous Surbma – GDPR Proof Google Analytics plugin, which will add Google Remarketing, Facebook Pixel, Hotjar and other services. It will be a complete cookie management solution for WordPress.
  • NEW – Shortcode, that can be used to give users the possibility to change their settings: [surbma-cookie-popup-link]
  • NEW – Upcoming features list in the sidebar to let you know the future of the plugin.
  • TWEAK – Modified admin area look. Preparing for the upcoming new features.


  • FIX – Fixed method to get plugin info. It was generating errors for Pro users.
  • TWEAK – New UIkit version added for the admin area.


  • FIX – Localization fixes.


  • FIX – Show the popup, when Debug mode is enabled and popup is disabled for logged in users.


  • NEW – Added popup close without clicking on the buttons: button, ESC, background click.
  • NEW – Added popup delay option.
  • ENHANCED – Optimized script loading logic.
  • ENHANCED – ESC button close is always enabled in Debug mode.
  • ENHANCED – Popup is not loading in admin area, only on login page, if admin tracking is enabled.
  • TWEAK – Minor admin CSS changes.
  • FIX – Corrected modal values.


  • FIX – Freemius mechanism added to prevent conflicts with premium version.


  • ENHANCED – Popup buttons are not refreshing the page. Accept button still sends the hit to Google Analytics.
  • ENHANCED – Settings page sidebar is updated with Google’s latest websites about GDPR.
  • TWEAK – General admin notice is removed. A more informational alert is added to the plugin’s settings page.
  • FIX – Internationalization fixes.
  • FIX – Admin URLs are fixed to work with every WordPress configuration.


  • FIX Unique JavaScript function names to avoid conflicts with other plugins.


  • FIX Settings validation error.
  • ENHANCED Popup load conditions.


  • FIX Freemius sandbox mode removed.


  • ENHANCED Debug mode has the option to close popup with ESC or clicking on the background.
  • ENHANCED A lot of code optimization.
  • FIX Popup related JavaScript codes are reordered.


  • FIX Localization fixes.


  • FIX The Limited Liability option notice.
  • FIX Text sanitization an validation.
  • FIX Minor code fixes.
  • CHANGED Removed Affiliate banner from sidebar.


  • NEW Pro version upgrade feature is available in the plugin’s admin menu. Use BEFOREGDPR coupon to get 50% off till May 26, 2018.
  • ENHANCED Plugin activation hook.
  • ENHANCED Code optimization for settings page.
  • ENHANCED Settings page display for Free users.
  • FIXED Loading logic for admin and login pages.


  • Main plugin file is renamed to prepare for merging free and pro versions to one plugin.
  • Fix README plugin name.


  • Added Freemius service to manage premium version and payment system.
  • Preparing to merge free and pro codes to one plugin.


  • Top-Level Menu.
  • Preparing the sidebar to have relevant informations.
  • Simple versioning.


  • Initial commit.