Plugin info

Total downloads: 1,500
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 5
Last updated: 1/15/2022 (1447 days ago)
Added to WordPress: 6/19/2018 (7 years old)
Minimum WordPress version: 3.9
Tested up to WordPress version: 5.8.12
Minimum PHP version: 5.6

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 1447 days ago

20/100

Is GDPR Visitor Consent abandoned?

Possibly abandoned (last update 1447 days ago).

Compatibility

Requires WordPress: 3.9
Tested up to: 5.8.12
Requires PHP: 5.6

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Header and Footer Scripts
Rating 4.6/5 (56 reviews)Active installs 200,000
Head & Footer Code
Rating 5.0/5 (52 reviews)Active installs 100,000
CSS & JavaScript Toolbox
Rating 4.7/5 (85 reviews)Active installs 10,000
Cache External Scripts
Rating 5.0/5 (25 reviews)Active installs 1,000
Speed Up – JavaScript To Footer
Rating 4.3/5 (6 reviews)Active installs 1,000

Description

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):

window.gdprvc_is_accepted( 'slug' );

// returns true/false

You can also use our helper function to parse your script containing