 			res.sendfile file.ignore
 			return true
 
-		else if req.headers?.dnt? is 1 and process.env.npm_package_config_dnt is true
+		else if req.headers?.dnt is '1' and process.env.npm_package_config_dnt is 'true'
 
 			# Do not track
 			res.sendfile file.dnt


			parse.visits req, ->

				if process.env.npm_package_config_anonymize is true

					# Do not save ip
					req.ip = ''


			parse.duration req, ->

				if process.env.npm_package_config_anonymize is 'true'

					# Do not save ip
					req.ip = ''
