do-not-track
Accessing the user's preferences in terms of tracking can be slightly complicated. This module simplifies that.
Install
npm install --save donottrack
Usage
Browser:
; // Returns true if the user agrees to being tracked, false otherwise.const mayTrack = ;
Node:
; const mayTrack = ;