react-ga-donottrack
Version:
Wrapper for react-ga that only adds Google Analytics if DoNotTrack is not enabled
39 lines (38 loc) • 1.04 kB
JSON
{
"name": "react-ga-donottrack",
"version": "1.0.1",
"description": "Wrapper for react-ga that only adds Google Analytics if DoNotTrack is not enabled",
"scripts": {
"build": "tsc",
"test": "echo \"No tests defined because this package relies on a global variable to be set/not set.\"",
"prepublishOnly": "yarn run build"
},
"keywords": [
"React",
"GA",
"Google Analytics",
"DNT",
"DoNotTrack",
"Do Not Track"
],
"homepage": "https://gitlab.com/Vinnl/react-ga-donottrack",
"bugs": "https://gitlab.com/Vinnl/react-ga-donottrack/issues",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Vincent Tunru <npm@vincenttunru.com> (https://VincentTunru.com)",
"repository": {
"type": "git",
"url": "https://gitlab.com/Vinnl/react-ga-donottrack.git"
},
"license": "MIT",
"devDependencies": {
"@types/react": "^16.7.13",
"typescript": "^3.2.2"
},
"dependencies": {
"react-ga": "^2.7.0"
},
"peerDependencies": {
"react": "^16.6.3"
}
}