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 Author
Aert
(@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
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?