WordPress plugin intelligence profile

GDPR Visitor Consent

Allow users to have control of what scripts are loaded.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.8
Current version1.1.4
WordPress coverageTested up to WordPress 5.8
Minimum stackWP 3.9 · PHP 5.6
Directory statusactive
Last directory update15 Jan 20224y ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records GDPR Visitor Consent version 1.1.4 as active, updated 4y ago and tested up to WordPress 5.8.

Overview

About this plugin

Allow users to have control of what scripts are loaded.

Scripts are grouped together (Required, Marketing, Analytics, etc). You can also lock a group, so that a user cannot disable a script within that group (think WordPress or Stripe cookies).

We strongly encourage you to perform an audit of you site to find out what scripts may be tracking users. Scripts that track users could include such things as: analytics scripts, CRM scripts, tracking pixels, and more.

Use the shortcode [gdpr_visitor_consent] to create a user preferences page. Using this shortcode, a user can change their GDPR preferences at a later date.

Developer API

You can add your script in a dropdown in the admin screen using the filter gdprvc_third_party_script( $scripts );

Example (PHP):

function add_third_party_script( $scripts ) {

$scripts[] = array( 'slug' => 'third-party-script', 'label' => 'Script Label', );

return $scripts;

} add_filter( 'gdprvc_third_party_scripts', 'add_third_party_script', 10, 1 );

You can then use the JavaScript API in the browser to control your scripts on the front-end

Example (JavaScript):

gdprvc_is_accepted( 'slug' );

// returns true/false

You can also use our helper function to parse your script containing <script> and <img> tags. This will automatically place your JavaScript in a conditional and remove src attributes until a user has consented.

Example (PHP):

add_action( 'wp_head', 'your_wp_head' );

function your_wp_head() { // Check for GDPR Visitor Consent Plugin if ( function_exists( 'gdprvc_parse_script' ) ) { echo gdprvc_parse_script( 'your script as a string', 'slug' ); return; } // Echo normally if plugin is not active echo 'your script as a string'; }

Browser Compatibility

Chrome

✓ Admin Editing

✓ Front-end functionality

✓ Front-end styles

Firefox

✓ Admin Editing

✓ Front-end functionality

✓ Front-end styles

Safari

✓ Admin Editing

✓ Front-end functionality

✓ Front-end styles

Edge

✓ Admin Editing

✓ Front-end functionality

✓ Front-end styles

IE11

✘ Admin Editing

✓ Front-end functionality

✓ Front-end styles

IE10

✘ Admin Editing

✓ Front-end functionality

✘ Front-end styles

IE9

✘ Admin Editing

✓ Front-end functionality

✘ Front-end styles

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • gdpr
  • privacy
  • scripts
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.8

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.8.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.8
Minimum requirementsWordPress 3.9 · PHP 5.6
Update activity15 Jan 20224y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.