• I have this conditional statement to enable analytics only if the cookie warning is accepted, but I don’t know which functions enable me to disable the tracking until it is accepted:

    if ( function_exists(‘cn_cookies_accepted’) && cn_cookies_accepted() ) {
    // Your third-party non functional code here
    }

  • The topic ‘Disable analytics if user have not accepted the cookies.’ is closed to new replies.