Print This page

Remove HTML Comments From Analytify?

To remove the HTML comments added by Analytify in the page source code along with Google analytics tracking js script,  you can do that simply by using the following filter:

add_filter( 'analytify_tracking_code_comments', '__return_false' );

Add this filter in your theme’s function.php file.

You won’t be getting the HTML comments of Analytify in your source code view any more.

That’s all!