Title: Cookie compliance
Last modified: May 7, 2026

---

# Cookie compliance

 *  Resolved [cranmerjs](https://wordpress.org/support/users/cranmerjs/)
 * (@cranmerjs)
 * [2 months ago](https://wordpress.org/support/topic/cookie-compliance-2/)
 * Hi,
 * Regarding cookie compliance. We are currently using Civic Cookie Control, and
   we’ve noticed that the Google Analytics cookie is being set before the user has
   given consent. Is there a way we can prevent Beehive Analytics from automatically
   adding the Google Analytics script and resulting cookie until a user gives consent
   via Civic? I’ve contacted Civic Cookie Control directly and they have said that
   it is not possible to prevent the Google Analytics from being added by Beehive
   Analytics, it can only be removed after a user revokes consent
 * Also, is the plugin compatible with the WP Consent API plugin? ([http://wordpress.org/plugins/wp-consent-api/](http://wordpress.org/plugins/wp-consent-api/))
 *  Regards,

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [forstel](https://wordpress.org/support/users/forstel/)
 * (@forstel)
 * [2 months ago](https://wordpress.org/support/topic/cookie-compliance-2/#post-18902227)
 * From what I explored, it is not possible. There’s a workflow within Beehive that
   cannot be interrupted; even when I prevented the cookie from being written until
   after consent using javascript, I lost the tracking for that page visit in GA
   and couldn’t recover it. There appears to be no way around that nor to instigate
   the trigger to begin tracking myself.
 *  Plugin Support [Nebu John – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport14/)
 * (@wpmudevsupport14)
 * [2 months ago](https://wordpress.org/support/topic/cookie-compliance-2/#post-18902362)
 * Hi [@cranmerjs](https://wordpress.org/support/users/cranmerjs/),
 * Trust you are doing well, and thank you for reaching out to us.
 * The following filters can help with what you are looking for.
 *     ```
       beehive_gtm_can_output_script
       beehive_google_enable_tracking
       ```
   
 * Can you please bring this to the notice of Civic Cookie Control support so that
   they can provide you with a workaround?
 * [@forstel](https://wordpress.org/support/users/forstel/), I hope the mentioned
   filter helps you as well. Please open a separate ticket if you need any further
   assistance regarding this.
 * Best Regards,
    Nebu John
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [1 month, 3 weeks ago](https://wordpress.org/support/topic/cookie-compliance-2/#post-18910235)
 * Hello [@cranmerjs](https://wordpress.org/support/users/cranmerjs/)
 * We haven’t heard from you in some time, so I will mark this thread as resolved.
   If you have any more questions or need further assistance, please let us know!
 * Kind Regards,
    Amin

Viewing 3 replies - 1 through 3 (of 3 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcookie-compliance-2%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/beehive-analytics/assets/icon-256x256.gif?rev=3406957)
 * [Beehive Analytics - Google Analytics Dashboard](https://wordpress.org/plugins/beehive-analytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/beehive-analytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/beehive-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/beehive-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/beehive-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/beehive-analytics/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [1 month, 3 weeks ago](https://wordpress.org/support/topic/cookie-compliance-2/#post-18910235)
 * Status: resolved