• Resolved Blaze Concepts

    (@blazeconcepts)


    Hi,

    We are also getting the same issue with no/little traffic however we were able to see that users from China, Dubai etc all were being recording in GA4 so we checked the snippet and saw the consent mode was blocking the EEA region EXCEPT you have included GB which is not a region of EEA!!!! (Glossary:European Economic Area (EEA) – Statistics Explained (europa.eu)) Also no settings for the consent mode but just implementing a denied on all those regions automatically seems like a dangerous game and clearly a lot of people are having no traffic issues. Would also recommend a notice in the dashboard to let people know this has been activated! Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • raetseldetektive

    (@raetseldetektive)

    We also had this issue and today I found out, that you can set consent mode for the regions (countries) of your choice to enabled using a code snippet. More information on github page of the plugin below consent-mode heading:
    https://github.com/woocommerce/woocommerce-google-analytics-integration/?tab=readme-ov-file#consent-mode

    So just add something like this using e.g. Code Snippets plugin to your website to enable consent mode for e.g. Germany and Switzerland:

    add_filter( 'woocommerce_ga_gtag_consent_modes', function ( $consent_modes ) {
    $consent_modes[] =
    array(
    'analytics_storage' => 'granted',
    'region' => array( 'DE' ),
    );
    $consent_modes[] =
    array(
    'analytics_storage' => 'granted',
    'region' => array( 'CH' ),
    );
    
    return $consent_modes;
    
    } );

    BR, Andreas

    Thread Starter Blaze Concepts

    (@blazeconcepts)

    @raetseldetektive Thanks for sharing your findings, we also found this but our problem was more that they were including regions that shouldn’t be included and that these aren’t manageable from the settings page which if you don’t feel comfortable coding like a lot of people or that you work with a SEO company that manages these plugins with no access to code then just makes everyone’s life harder ??

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @blazeconcepts

    We appreciate your feedback, and we are always working to improve our product. The current design requires some coding knowledge to modify the consent mode settings, and we understand that this may not be ideal for everyone.

    It would be great to have you add your ideas as a feature request, which is where developers go to look for future plugin features and improvements.

    Thank you for your valuable feedback.

    Hi there ??

    I trust a feature request has been submitted by now. We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    Thank you for your valuable feedback.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No traffic and consent mode wrong region’ is closed to new replies.