Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have recently found a do not track checkbox in my chrome options.

Nevertheless it is pretty obvious what it is going to do, I have a question regarding how it is going to do this and what is the probability that this checkbox will work.

First of all the idea behind the "Do Not Track": a browser is going to include something which is telling the server not to track your identity and not to use your previous history to show you ads. After checking this checkbox I was not able to find any difference in request headers or request uri sent to the server. So the question is how is the browser sending this information. Also what I am as a developer should do to correctly respond to such request.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You should see a header named "DNT" sent to the server with all your requests. It's possible you will need to restart your browser before it starts being sent.

Here's an image from Chrome's developer tools. You can access this in your own browser by pressing F12 then selecting the network tab and selecting the first item in the list (You will need to refresh the page with the Developer tools open before anything will appear).

Do Not Track Header

As a developer there isn't (AFAIK) any set standard on what you need to do when seeing such a request. Generally if you have any user tracking implemented and detect that DNT is set to 1 you should disable it, but your technically not required to honour it at all.

share|improve this answer
    
That last sentence is especially important. See Wikipedia for more. –  Karan Mar 12 '13 at 2:32
    
thanks. Actually I need to restart a browser. I found it later by myself. –  Salvador Dali Mar 12 '13 at 12:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.