• Hi,

    I’d like to know if there’s a chance to have a filter to disable all tracking codes depending on a custom condition.

    I reckon that you could add it in the tracking.php file L48

    Something like:

    if ( true !== apply_filters( 'gadwp_enable_tracking', true ) ) {
    	return;
    }

    Please let me know if you have another solution to do so.
    Thanks.

  • The topic ‘Filter to disable tracking’ is closed to new replies.