Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Disable WordPress.com Stats through Jetpack when client has "Do Not Track" enabled
<?php
/* Honour DNT - Disable WordPress.com Stats through Jetpack Plugin when client has "Do Not Track" enabled */
apply_filters( 'jetpack_honor_dnt_header_for_stats', true );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment