Independent Analytics includes a filter called iawp_user_excluded_posts you can use to exclude the analytics script from specific pages.
Here is an example of how the filter can be used:
add_filter( 'iawp_user_excluded_posts', function ( $ids ) {
$ids[] = 1;
return $ids;
});
It takes a single argument, which is an array of integers. Each integer is the ID of a page you want to exclude the tracking script on. In the example above, this would prevent Independent Analytics from tracking a page with an ID of 1.
