Documentation Privacy WP Consent Level Integration

WP Consent Level Integration


To use this feature, you need to install and activate the WP Consent API WordPress plugin.

The WP Consent API has been added to WP Statistics (since v14.8) in order to enhance user privacy and comply with various data protection regulations. The WP Statistics tracking is only activated based on the user’s chosen consent category in this integration, which respects user consent preferences.

Integration Categories

WP Statistics can be configured to function under the following consent categories once this feature is enabled:

  • Functional: Select this category if WP Statistics does not collect any personally identifiable information (PII) and meets all Privacy Audit requirements.
  • Statistics-Anonymous: This category is suitable if WP Statistics collects anonymous data that cannot be traced back to an individual.
  • Statistics: Choose this category if WP Statistics collects user data, such as IP addresses, which might be considered PII.
  • Marketing: If WP Statistics data is sent to third parties for marketing purposes, use this category. (Note: WP Statistics does not currently support sending data to third parties, but this option is available for custom implementations).

How to Enable WP Consent Level Integration

  1. Navigate to Settings: Go to the WP Statistics settings page -> User Data Protection -> User Preferences in your WordPress dashboard.
  2. Enable the Integration: Find the option labeled “WP Consent Level Integration”.
  3. Select Consent Category: Choose the appropriate category based on your data collection and usage practices.
  4. Save Changes: Click on the “Save Changes” button to apply the settings.

Note on Compatibility

This integration only works if you have a compatible consent management provider. Currently, the following WordPress plugins are compatible with the WP Consent API:

Potential Impact on Tracking

Enabling this option can affect the number of tracked visitors and views, as WP Statistics won’t track users who do not accept the consent. This can lead to lower reported visitor numbers and page views.


  • Enhanced Privacy: Respect user consent preferences and improve transparency regarding data collection practices.
  • Regulatory Compliance: Align your website with data protection regulations such as GDPR, CCPA, and others.
  • User Trust: Build and maintain trust with your users by being transparent about data collection and usage.

Frequently Asked Questions

Q: Does enabling this feature affect the performance of WP Statistics?
A: No, enabling the WP Consent Level Integration ensures that WP Statistics only activates when user consent is given, without impacting performance.

Q: What happens if I choose the wrong consent category?
A: It is crucial to select the appropriate category based on your data collection practices. Incorrect categorization can lead to non-compliance with privacy regulations.

Q: Can I change the consent category after enabling the integration?
A: Yes, you can change the consent category at any time through the WP Statistics settings page.

Additional Information

WP Statistics does not use cookies or other personally identifiable information (PII) by default. This means you can use it without notifying users, but informing them about it can enhance your transparency and demonstrate respect for their privacy.

Note: Based on your WP Statistics settings, you may need to use consent for WP Statistics. To check this, go to your WP Statistics Privacy Audit page, “FAQs” section, and see the “Does WP Statistics require consent?

For more detailed information on how this integration works, please refer to the GitHub repository.

Clearing Cache

If you have a cache plugin or mechanism on your server, make sure to clear your cache after changing the value of this setting. This ensures that your changes take effect immediately.

How to Clear Cache

For more detailed instructions, please refer to this article: How to Clear Your Cache in WordPress.

Popular WordPress Cache Plugins: