Title: Script for blocking Analytics
Last modified: June 21, 2022

---

# Script for blocking Analytics

 *  [gigahandel](https://wordpress.org/support/users/gigahandel/)
 * (@gigahandel)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/script-for-blocking-analytics/)
 * Hello,
 * I recently installed this plugin and I see there is a textblock where I have 
   to insert script to block cookies, when visitors would like to reject cookies.
 * How does this script look? Is there a way to find it somewhere?

Viewing 1 replies (of 1 total)

 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/script-for-blocking-analytics/#post-15758261)
 * Here’s some info
    [https://developers.google.com/analytics/devguides/migration/ua/analyticsjs-to-gtagjs](https://developers.google.com/analytics/devguides/migration/ua/analyticsjs-to-gtagjs)

Viewing 1 replies (of 1 total)

The topic ‘Script for blocking Analytics’ is closed to new replies.

 * ![](https://ps.w.org/cookie-notice/assets/icon-256x256.png?rev=3549327)
 * [Compliance by Hu-manity.co](https://wordpress.org/plugins/cookie-notice/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-notice/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-notice/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-notice/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-notice/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-notice/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [dFactory](https://wordpress.org/support/users/dfactory/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/script-for-blocking-analytics/#post-15758261)
 * Status: not resolved