Title: GDPR Issue
Last modified: September 2, 2023

---

# GDPR Issue

 *  Resolved [Valex2013](https://wordpress.org/support/users/valex2013/)
 * (@valex2013)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/gdpr-issue-2/)
 * Hi there. Great plugin, nice work!
 * Unfortunately the plugin connects to “ajax.googleapis.com” in the background.
   Therefore it is in conflict with GDPR regulations in the European Union.
 * Do you intend to change that? If not, can you tell us how to prevent that connection
   in order to not being in conflict with GDPR regulation when using the plugin?
 * Best regards from Germany.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/gdpr-issue-2/#post-17020939)
 * > Hi there. Great plugin, nice work!
 * thank you.
 * > Unfortunately the plugin connects to “ajax.googleapis.com” in the background.
 * if you use `jquery-ui` functionality (tabs/collapsible sections/toggles sections).
   The js scripts are loaded from WP core (your server), however the css styles 
   are loaded from a js CDN repo. This is common practice, more reliable.
 * If you need to block this, you have 2 options, [dequeue](https://developer.wordpress.org/reference/functions/wp_dequeue_style/)
   the offending stylesheets and either,
    1. Custom style your tabs/toggles/collapsible section which you are using in your
       form, (only minimal rules are actually being used from the stylesheets.
    2. Include those stylesheets in your theme folder and load them instead.
 * There are 3 stylesheets being loaded using the following handles,
    1. `cf7-jquery-ui` – themes/smoothness/jquery-ui.min.css
    2. `cf7-jquery-ui-theme` – themes/smoothness/jquery-ui.theme.min.css
    3. `cf7-jquery-ui-structure` – themes/smoothness/jquery-ui.structure.min.css
 * To dequeue (or enqueue) these stylesheets, use the action fired at the end of
   the enqueue process,
 *     ```wp-block-code
       add_action('smart_grid_enqueue_scripts', 'gdrpr_fix',10,1);
   
       function gdrpr_fix($cf7_key){
         if('my-form'===$cf7_key){//check this is the right form (if need be).
            wp_dequeue_style('cf7-jquery-ui');
            wp_dequeue_style('cf7-jquery-ui-theme');
            wp_dequeue_style('cf7-jquery-ui-structure');
            // possibly enqueue your own here...
         }
       }
       ```
   
 * NB: v5 (in the pipeline) of this plugin will do away with jquery-ui altogether.
 *  Thread Starter [Valex2013](https://wordpress.org/support/users/valex2013/)
 * (@valex2013)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/gdpr-issue-2/#post-17023243)
 * Thank you, nice support!
 * Best regards.
 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/gdpr-issue-2/#post-17025993)
 * Do leave a [review](https://wordpress.org/support/plugin/cf7-grid-layout/reviews/)
   when you have a moment to spare.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘GDPR Issue’ is closed to new replies.

 * ![](https://ps.w.org/cf7-grid-layout/assets/icon-256x256.png?rev=1834229)
 * [Smart Grid-Layout Design for Contact Form 7](https://wordpress.org/plugins/cf7-grid-layout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-grid-layout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-grid-layout/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-grid-layout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-grid-layout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-grid-layout/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/gdpr-issue-2/#post-17025993)
 * Status: resolved