Plugin Directory


Ignore:
Timestamp:
03/04/2024 02:01:17 PM (2 years ago)
Author:
MooveAgency
Message:

Version 4.13.2 released

Location:
gdpr-cookie-compliance
Files:
98 added
6 edited

Legend:

Unmodified
Added
Removed
  • gdpr-cookie-compliance/trunk/class-moove-gdpr-actions.php

    r3024937 r3045086  
    650650        $gdpr_default_content           = new Moove_GDPR_Content();
    651651        $wp_lang                            = $gdpr_default_content->moove_gdpr_get_wpml_lang();
    652         $transient_key                  = 'gdpr_cookie_cache' . $wp_lang;
     652        $transient_key                  = 'gdpr_cookie_cache' . $wp_lang . MOOVE_GDPR_VERSION;
    653653        delete_transient( $transient_key );
    654654    }
  • gdpr-cookie-compliance/trunk/class-moove-gdpr-content.php

    r3027390 r3045086  
    7373                ob_start();
    7474                ?>
    75                 <!-- Google tag (gtag.js) - Google Analaytics 4 -->
     75                <!-- Google tag (gtag.js) - Google Analytics 4 -->
    7676                <script src="https://www.googletagmanager.com/gtag/js?id=<?php echo $_gdin_module['tacking_id']; ?>" data-type="gdpr-integration"></script>
    7777                <script data-type="gdpr-integration">
     
    140140                        'security_storage': 'denied',
    141141                        'functionality_storage': 'denied',
     142                        'wait_for_update': '<?php echo apply_filters( 'gdpr_cc_gtm2_wait_for_update', '2000' ) ?>'
    142143                  });
    143144                </script>
     
    170171                        'functionality_storage': 'granted',
    171172                });
     173
     174                dataLayer.push({
     175                     'event': 'cookie_consent_update'
     176                    });
    172177                </script>   
    173178                <?php
  • gdpr-cookie-compliance/trunk/controllers/class-moove-gdpr-controller.php

    r2956723 r3045086  
    330330        $wp_lang                            = $gdpr_default_content->moove_gdpr_get_wpml_lang();
    331331
    332         $transient_key = 'gdpr_cookie_cache' . $wp_lang;
     332        $transient_key = 'gdpr_cookie_cache' . $wp_lang . MOOVE_GDPR_VERSION;
    333333        $transient     = apply_filters( 'gdpr_cookie_script_cache', get_transient( $transient_key ) );
    334334        if ( ! empty( $transient ) ) :
     
    451451        $wp_lang        = isset( $_POST['wp_lang'] ) ? sanitize_text_field( wp_unslash( urlencode( $_POST['wp_lang'] ) ) ) : '';
    452452
    453         $transient_key = 'gdpr_cookie_cache' . $wp_lang;
     453        $transient_key = 'gdpr_cookie_cache' . $wp_lang . MOOVE_GDPR_VERSION;
    454454        $transient     = apply_filters( 'gdpr_cookie_script_cache', get_transient( $transient_key ) );
    455455
  • gdpr-cookie-compliance/trunk/gdpr-functions.php

    r3024937 r3045086  
    6262    function gdpr_get_integration_modules( $gdpr_options, $gdin_values ) {
    6363        $integration_modules = array(
    64             'ga' => array(
    65                 'name'              => 'Google Universal Analytics',
    66                 'desc'              => '',
    67                 'cookie_cat'    => isset( $gdin_values['ga'] ) ? intval( $gdin_values['ga'] ) : 2,
    68                 'tacking_id'    => isset( $gdin_values['ga_id'] ) ? $gdin_values['ga_id'] : '',
    69                 'id_format'     => 'UA-XXXXXXXX',
    70                 'atts'              => array(
    71                     'toggle'        => true,
    72                     'input'         => ''
    73                 ),
    74                 'status'            => isset( $gdin_values['ga'] )
    75             ),
    7664            'ga4'   => array(
    7765                'name'              => 'Google Analytics 4',
     
    8573                ),
    8674                'status'            => isset( $gdin_values['ga4'] )
    87             ),
     75            ),     
    8876            'gtm'   => array(
    8977                'name'          => 'Google Tag Manager',
    90                 'desc'          => '',
     78                'desc'          => 'Standard implementation',
    9179                'cookie_cat'    => isset( $gdin_values['gtm'] ) ? intval( $gdin_values['gtm'] ) : 2,
    9280                'tacking_id'    => isset( $gdin_values['gtm_id'] ) ? $gdin_values['gtm_id'] : '',
     
    9785                ),
    9886                'status'        => isset( $gdin_values['gtm'] )
    99             ),
     87            ), 
    10088            'gtmc2' => array(
    10189                'name'          => 'Google Tag Manager',
    102                 'desc'          => 'Consent Mode - V2',
     90                'desc'          => 'Consent Mode v2 [for advanced users only]',
    10391                'cookie_cat'    => isset( $gdin_values['gtmc2'] ) ? intval( $gdin_values['gtmc2'] ) : 2,
    10492                'tacking_id'    => isset( $gdin_values['gtmc2_id'] ) ? $gdin_values['gtmc2_id'] : '',
     
    133121                ),
    134122                'status'        => isset( $gdin_values['fbp'] )
    135             )
     123            )           
    136124        );
    137125        return apply_filters( 'gdpr_integration_modules', $integration_modules, $gdpr_options, $gdin_values );
  • gdpr-cookie-compliance/trunk/moove-gdpr.php

    r3027390 r3045086  
    55 *  Plugin URI: https://wordpress.org/plugins/gdpr-cookie-compliance/
    66 *  Description: Our plugin is useful in preparing your site for the following data protection and privacy regulations: GDPR, CCPA, PIPEDA, AAP, LGPD and others.
    7  *  Version: 4.13.1
     7 *  Version: 4.13.2
    88 *  Author: Moove Agency
    99 *  Domain Path: /languages
     
    1919} // Exit if accessed directly
    2020
    21 define( 'MOOVE_GDPR_VERSION', '4.13.1' );
     21define( 'MOOVE_GDPR_VERSION', '4.13.2' );
    2222if ( ! defined( 'MOOVE_SHOP_URL' ) ) :
    2323    define( 'MOOVE_SHOP_URL', 'https://shop.mooveagency.com' );
  • gdpr-cookie-compliance/trunk/readme.txt

    r3027390 r3045086  
    33Donate link: https://www.mooveagency.com/wordpress-plugins/gdpr-cookie-compliance/
    44Tags: GDPR, CCPA, DSGVO, cookie banner, cookie notice
    5 Stable tag: 4.13.1
     5Stable tag: 4.13.2
    66Requires at least: 4.5
    77Tested up to: 6.4
     
    278278
    279279== Changelog ==
     280= 4.13.2: 4 March 2024 =
     281* Added GTM Consent v2 custom event: cookie_consent_update
     282* Removed deprecated Google Universal Analytics integration
     283
    280284= 4.13.1: 26 January 2024 =
    281 * Tracking ID fixed in Google Consent V2 integration module
     285* Tracking ID fixed in Google Consent v2 integration module
    282286
    283287= 4.13.0: 22 January 2024 =
Note: See TracChangeset for help on using the changeset viewer.