- From: Walk and Ramble <ramble@walkandramble.co.uk>
- Date: Wed, 21 Nov 2012 11:18:05 +0000
- To: public-tracking@w3.org
Received on Wednesday, 21 November 2012 14:56:16 UTC
Hi
If anyone not familiar with Javascript needs a simple script which
runs analytics script only when doNotTrack is not set, the script
below can used.
Daniel
<script type="text/javascript">
if (window.navigator.doNotTrack == "yes")
{
}
else
{
put analytics script here, but do not include html <script> tags
}
</script>
Received on Wednesday, 21 November 2012 14:56:16 UTC