by bArray · 9y ago · 0 comments
A way you could (in theory) get around this is by having the user view some virtual web browser, so that Google still gets all that lovely advertiser time but your server is the one making all the requests to their service. One issue is if your site gets more than a few hits a minute, your server will probably either kill over or start providing a terrible user experience if it wasn't like that in the first place.
If you really want to respect DNT and don't want to affect user experience (too much), I would have some JavaScript reveal code for the embedded content - with a warning that the once they have clicked the button you can no longer respect their DNT request. A DNT request could translate from `/index.html` to `/index.html.dnt.html` for example, if you pre-process your pages to be statically served.
No comments yet.