• Resolved mdknight

    (@mdknight)


    Hi,
    From Jan 30th 2021 Jetpack Stats have not been recorded. Prior to that it was working fine. Once I disable Complianz stats resume working. Do you have any suggestions?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @mdknight,

    This Complianz update contained an integration with Jetpack. When this integration is enabled, the script that is responsible for tracking Jetpack statistics is blocked before user consent.

    As your website is targeted towards visitors from the UK, this also requires consent for anonymized statistics. This is likely the reason for your Jetpack Stats dropping.

    You could disable the integration with Jetpack (Complianz > Integrations) and it should function like it used to, but this effectively marks the script as “functional”.

    Hope this clarifies,
    Jarno

    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @mdknight,

    This is a specific update for WP.com users; https://github.com/Really-Simple-Plugins/complianz-gdpr/tree/jetpack-update

    Let me know if this helps,

    regards Aert

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Hi @mdknight,

    The core issue is that your banner does not have a statistics category. The branch Aert posted here will force the statistics category always when JetPack is active.

    As alternative you can also install this snippet as a mu-plugin:

     function prefix_jetpack_set_statistics_required( $stats_category_required ){
    	    return true;
        }
        add_filter('cmplz_cookie_warning_required_stats', 'prefix_jetpack_set_statistics_required');

    You should get the JetPack statistics then.

    The current live version has a condition that forces statistics only if the “stats” module is enabled. Apparently there is a configuration possible where the stats module is not enabled, and stats are still tracked. Are you hosted on WordPres.com perhaps?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[NSFW] Blocking Jetpack stats’ is closed to new replies.