Do Not Track

Do Not Track(DNT) is a browser feature which allows you to express your preference not to be tracked when browsing the web. Many browsers expose this option in their privacy settings, but it’s up to individual website owners to respect their users’ wishes.

This plugin makes it easy to identify the user’s DNT setting in your Twig templates and disable any tracking code you have in place.

{% if craft.doNotTrack.isEnabled == false %}
  <!-- Your analytics code -->
{% endif %}


Package Name

To install this plugin, search for its package name on the Plugin Store and click “Install”.


Report an issue