{"_id":"nuxt-matomo","_rev":"1514442","name":"nuxt-matomo","description":"Matomo analytics for Nuxt.js","dist-tags":{"latest":"1.2.4"},"maintainers":[{"name":"pimlie","email":"pimlie@hotmail.com"}],"time":{"modified":"2021-11-10T05:51:20.000Z","created":"2018-02-15T21:49:25.862Z","1.2.4":"2021-01-31T12:35:57.883Z","1.2.3":"2019-08-24T18:54:58.968Z","1.2.2":"2019-03-03T14:29:44.660Z","1.2.1":"2019-01-24T08:36:47.900Z","1.2.0":"2019-01-23T17:31:25.292Z","1.1.1":"2019-01-18T10:33:09.315Z","1.1.0":"2019-01-07T18:38:06.089Z","1.0.0":"2019-01-06T14:39:26.438Z","0.5.1":"2018-12-10T16:52:33.750Z","0.5.0":"2018-03-08T09:51:39.991Z","0.4.0":"2018-02-15T21:49:25.862Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/pimlie/nuxt-matomo.git"},"versions":{"1.2.4":{"name":"nuxt-matomo","version":"1.2.4","license":"MIT","description":"Matomo analytics for Nuxt.js","repository":{"type":"git","url":"git+https://github.com/pimlie/nuxt-matomo.git"},"homepage":"https://github.com/pimlie/nuxt-matomo","main":"lib/module.js","keywords":["matomo","piwik","analytics","nuxt","nuxt.js","nuxtjs"],"scripts":{"build":"nuxt build test/fixtures/basic","dev":"nuxt test/fixtures/meta-changed","lint":"yarn lint:lib && yarn lint:matomo","lint:lib":"eslint --ext .js,.vue .","lint:matomo":"if [ $(node -e \"console.log(require('fs').existsSync('./test/fixtures/basic/.nuxt/matomo'));\") = \"false\" ]; then yarn test:fixtures; fi && eslint --no-ignore test/fixtures/basic/.nuxt/matomo/","release":"yarn lint && yarn test && standard-version","test":"yarn test:fixtures && yarn test:e2e","test:fixtures":"jest test/fixtures","test:e2e":"jest test/e2e","download-matomo":"wget -O test/utils/piwik.js https://raw.githubusercontent.com/matomo-org/matomo/master/js/piwik.js","create-matomo-api-list":"yarn download-matomo && node ./scripts/createApiMethodsList.js"},"publishConfig":{"access":"public"},"devDependencies":{"@babel/core":"^7.12.10","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/preset-env":"^7.12.11","@nuxtjs/eslint-config":"^5.0.0","babel-core":"7.0.0-bridge.0","babel-eslint":"^10.1.0","babel-jest":"^26.6.3","eslint":"^7.19.0","eslint-config-standard":"^16.0.2","eslint-plugin-html":"^6.1.1","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^5.0.0","eslint-plugin-vue":"^7.5.0","get-port":"^5.1.1","jest":"^26.6.3","jsdom":"^15.1.1","nuxt":"^2.14.12","puppeteer":"^5.5.0","standard-version":"^9.1.0"},"gitHead":"3d0e57cc11bdc2fc490cc35b917116c9d4b6f6bc","bugs":{"url":"https://github.com/pimlie/nuxt-matomo/issues"},"_id":"nuxt-matomo@1.2.4","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"shasum":"2cd3f212996e0c35ade08f23563987438608e469","size":9168,"noattachment":false,"key":"/nuxt-matomo/-/nuxt-matomo-1.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/nuxt-matomo/download/nuxt-matomo-1.2.4.tgz"},"_npmUser":{"name":"pimlie","email":"pimlie@hotmail.com"},"directories":{},"maintainers":[{"name":"pimlie","email":"pimlie@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-matomo_1.2.4_1612096557723_0.6310124934376404"},"_hasShrinkwrap":false,"publish_time":1612096557883,"_cnpm_publish_time":1612096557883},"1.2.3":{"name":"nuxt-matomo","version":"1.2.3","license":"MIT","description":"Matomo analytics for Nuxt.js","repository":{"type":"git","url":"git+https://github.com/pimlie/nuxt-matomo.git"},"homepage":"https://github.com/pimlie/nuxt-matomo","main":"lib/module.js","keywords":["matomo","piwik","analytics","nuxt","nuxt.js","nuxtjs"],"scripts":{"build":"nuxt build test/fixtures/basic","dev":"nuxt test/fixtures/meta-changed","lint":"yarn lint:lib && yarn lint:matomo","lint:lib":"eslint --ext .js,.vue .","lint:matomo":"if [ $(node -e \"console.log(require('fs').existsSync('./test/fixtures/basic/.nuxt/matomo'));\") = \"false\" ]; then yarn test:fixtures; fi && eslint --no-ignore test/fixtures/basic/.nuxt/matomo/","release":"yarn lint && yarn test && standard-version","test":"yarn test:fixtures && yarn test:e2e","test:fixtures":"jest test/fixtures","test:e2e":"jest test/e2e","download-matomo":"wget -O test/utils/piwik.js https://raw.githubusercontent.com/matomo-org/matomo/master/js/piwik.js","create-matomo-api-list":"yarn download-matomo && node ./scripts/createApiMethodsList.js"},"publishConfig":{"access":"public"},"devDependencies":{"@babel/core":"^7.5.5","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/preset-env":"^7.5.5","@nuxtjs/eslint-config":"^1.1.2","babel-core":"7.0.0-bridge.0","babel-eslint":"^10.0.2","babel-jest":"^24.9.0","eslint":"^6.2.2","eslint-config-standard":"^14.0.1","eslint-plugin-html":"^6.0.0","eslint-plugin-import":"^2.18.2","eslint-plugin-jest":"^22.15.2","eslint-plugin-node":"^9.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","eslint-plugin-vue":"^5.2.3","get-port":"^5.0.0","jest":"^24.9.0","jsdom":"^15.1.1","nuxt":"^2.9.1","puppeteer":"^1.19.0","standard-version":"^7.0.0"},"gitHead":"c313458a23146bed5670f00ba602abc17787cf0e","bugs":{"url":"https://github.com/pimlie/nuxt-matomo/issues"},"_id":"nuxt-matomo@1.2.3","_nodeVersion":"12.8.0","_npmVersion":"6.10.2","dist":{"shasum":"9814b19b8898872d7d4535ac472097bf021e8edc","size":9102,"noattachment":false,"key":"/nuxt-matomo/-/nuxt-matomo-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/nuxt-matomo/download/nuxt-matomo-1.2.3.tgz"},"maintainers":[{"name":"pimlie","email":"pimlie@hotmail.com"}],"_npmUser":{"name":"pimlie","email":"pimlie@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-matomo_1.2.3_1566672898845_0.7431874424405596"},"_hasShrinkwrap":false,"publish_time":1566672898968,"_cnpm_publish_time":1566672898968},"1.2.2":{"name":"nuxt-matomo","version":"1.2.2","license":"MIT","description":"Matomo analytics for Nuxt.js","repository":{"type":"git","url":"git+https://github.com/pimlie/nuxt-matomo.git"},"homepage":"https://github.com/pimlie/nuxt-matomo","main":"lib/module.js","keywords":["matomo","piwik","analytics","nuxt","nuxt.js","nuxtjs"],"scripts":{"build":"nuxt build test/fixtures/basic","dev":"nuxt test/fixtures/meta-changed","lint":"yarn lint:lib && yarn lint:matomo","lint:lib":"eslint --ext .js,.vue .","lint:matomo":"if [ $(node -e \"console.log(require('fs').existsSync('./test/fixtures/basic/.nuxt/matomo'));\") = \"false\" ]; then yarn test:fixtures; fi && eslint --no-ignore test/fixtures/basic/.nuxt/matomo/","release":"yarn lint && yarn test && standard-version","test":"yarn test:fixtures && yarn test:e2e","test:fixtures":"jest test/fixtures","test:e2e":"jest test/e2e","download-matomo":"wget -O test/utils/piwik.js https://raw.githubusercontent.com/matomo-org/matomo/master/js/piwik.js","create-matomo-api-list":"yarn download-matomo && node ./bin/createApiMethodsList.js"},"publishConfig":{"access":"public"},"devDependencies":{"@babel/core":"^7.3.4","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/preset-env":"^7.3.4","@nuxtjs/eslint-config":"^0.0.1","babel-core":"7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^24.1.0","eslint":"^5.15.0","eslint-config-standard":"^12.0.0","eslint-plugin-html":"^5.0.3","eslint-plugin-import":"^2.16.0","eslint-plugin-jest":"^22.3.0","eslint-plugin-node":"^8.0.1","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","eslint-plugin-vue":"^5.2.2","get-port":"^4.2.0","jest":"^24.1.0","jsdom":"^13.2.0","nuxt":"^2.4.5","puppeteer":"^1.12.2","standard-version":"^5.0.1"},"gitHead":"420d49d8bd2f9bc740c7ae0f6e36c3ec6879f88d","bugs":{"url":"https://github.com/pimlie/nuxt-matomo/issues"},"_id":"nuxt-matomo@1.2.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"pimlie","email":"pimlie@hotmail.com"},"dist":{"shasum":"a37d84d0d9cd82df95653d9b3cba7b15cf735836","size":8975,"noattachment":false,"key":"/nuxt-matomo/-/nuxt-matomo-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/nuxt-matomo/download/nuxt-matomo-1.2.2.tgz"},"maintainers":[{"name":"pimlie","email":"pimlie@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-matomo_1.2.2_1551623384453_0.5599920692195335"},"_hasShrinkwrap":false,"publish_time":1551623384660,"_cnpm_publish_time":1551623384660},"1.2.1":{"name":"nuxt-matomo","version":"1.2.1","license":"MIT","description":"Matomo analytics for Nuxt.js","repository":{"type":"git","url":"git+https://github.com/pimlie/nuxt-matomo.git"},"homepage":"https://github.com/pimlie/nuxt-matomo","main":"lib/module.js","keywords":["matomo","piwik","analytics","nuxt","nuxt.js","nuxtjs"],"scripts":{"build":"nuxt build test/fixtures/basic","dev":"nuxt test/fixtures/basic","lint":"yarn lint:lib && yarn lint:matomo","lint:lib":"eslint --ext .js,.vue .","lint:matomo":"if [ $(node -e \"console.log(require('fs').existsSync('./test/fixtures/basic/.nuxt/matomo'));\") = \"false\" ]; then yarn test:fixtures; fi && eslint --no-ignore test/fixtures/basic/.nuxt/matomo/","release":"yarn lint && yarn test && standard-version","test":"yarn test:fixtures && yarn test:e2e","test:fixtures":"jest test/fixtures","test:e2e":"jest test/e2e","download-matomo":"wget -O test/utils/piwik.js https://raw.githubusercontent.com/matomo-org/matomo/master/js/piwik.js","create-matomo-api-list":"yarn download-matomo && node ./bin/createApiMethodsList.js"},"publishConfig":{"access":"public"},"devDependencies":{"@babel/core":"^7.2.2","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/preset-env":"^7.2.3","@nuxtjs/eslint-config":"^0.0.1","babel-core":"7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","eslint":"^5.12.0","eslint-config-standard":"^12.0.0","eslint-plugin-html":"^5.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^22.1.2","eslint-plugin-node":"^8.0.1","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","eslint-plugin-vue":"^5.1.0","get-port":"^4.1.0","jest":"^23.6.0","jsdom":"^13.1.0","nuxt":"^2.3.4","puppeteer":"^1.11.0","standard-version":"^4.4.0"},"gitHead":"9284267a603e594dbe3ccd25cdf1d3ba0350e40c","bugs":{"url":"https://github.com/pimlie/nuxt-matomo/issues"},"_id":"nuxt-matomo@1.2.1","_npmVersion":"6.5.0-next.0","_nodeVersion":"11.6.0","_npmUser":{"name":"pimlie","email":"pimlie@hotmail.com"},"dist":{"shasum":"fa64eab794369425e47a0ad3960eee973071dc07","size":8894,"noattachment":false,"key":"/nuxt-matomo/-/nuxt-matomo-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/nuxt-matomo/download/nuxt-matomo-1.2.1.tgz"},"maintainers":[{"name":"pimlie","email":"pimlie@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-matomo_1.2.1_1548319007803_0.06490544210944904"},"_hasShrinkwrap":false,"publish_time":1548319007900,"_cnpm_publish_time":1548319007900},"1.2.0":{"name":"nuxt-matomo","version":"1.2.0","license":"MIT","description":"Matomo analytics for Nuxt.js","repository":{"type":"git","url":"git+https://github.com/pimlie/nuxt-matomo.git"},"homepage":"https://github.com/pimlie/nuxt-matomo","main":"lib/module.js","keywords":["matomo","piwik","analytics","nuxt","nuxt.js","nuxtjs"],"scripts":{"build":"nuxt build test/fixtures/basic","dev":"nuxt test/fixtures/basic","lint":"yarn lint:lib && yarn lint:matomo","lint:lib":"eslint --ext .js,.vue .","lint:matomo":"if [ $(node -e \"console.log(require('fs').existsSync('./test/fixtures/basic/.nuxt/matomo'));\") = \"false\" ]; then yarn test:fixtures; fi && eslint --no-ignore test/fixtures/basic/.nuxt/matomo/","release":"yarn lint && yarn test && standard-version","test":"yarn test:fixtures && yarn test:e2e","test:fixtures":"jest test/fixtures","test:e2e":"jest test/e2e","download-matomo":"wget -O test/utils/piwik.js https://raw.githubusercontent.com/matomo-org/matomo/master/js/piwik.js","create-matomo-api-list":"yarn download-matomo && node ./bin/createApiMethodsList.js"},"publishConfig":{"access":"public"},"devDependencies":{"@babel/core":"^7.2.2","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/preset-env":"^7.2.3","@nuxtjs/eslint-config":"^0.0.1","babel-core":"7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","eslint":"^5.12.0","eslint-config-standard":"^12.0.0","eslint-plugin-html":"^5.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^22.1.2","eslint-plugin-node":"^8.0.1","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","eslint-plugin-vue":"^5.1.0","get-port":"^4.1.0","jest":"^23.6.0","jsdom":"^13.1.0","nuxt":"^2.3.4","puppeteer":"^1.11.0","standard-version":"^4.4.0"},"gitHead":"a9f116fb081e99e255383f44d9fc87eb21a89ca0","bugs":{"url":"https://github.com/pimlie/nuxt-matomo/issues"},"_id":"nuxt-matomo@1.2.0","_npmVersion":"6.5.0-next.0","_nodeVersion":"11.6.0","_npmUser":{"name":"pimlie","email":"pimlie@hotmail.com"},"dist":{"shasum":"3f8cb1f0fa9680ceb521f96722e9db3f4675519c","size":8827,"noattachment":false,"key":"/nuxt-matomo/-/nuxt-matomo-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nuxt-matomo/download/nuxt-matomo-1.2.0.tgz"},"maintainers":[{"name":"pimlie","email":"pimlie@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-matomo_1.2.0_1548264685215_0.5881456235992149"},"_hasShrinkwrap":false,"publish_time":1548264685292,"_cnpm_publish_time":1548264685292},"1.1.1":{"name":"nuxt-matomo","version":"1.1.1","license":"MIT","description":"Matomo analytics for Nuxt.js","repository":{"type":"git","url":"git+https://github.com/pimlie/nuxt-matomo.git"},"homepage":"https://github.com/pimlie/nuxt-matomo","main":"lib/module.js","keywords":["matomo","piwik","analytics","nuxt","nuxt.js","nuxtjs"],"scripts":{"build":"nuxt build test/fixtures/basic","dev":"nuxt test/fixtures/basic","download-matomo":"wget -O test/utils/piwik.js https://raw.githubusercontent.com/matomo-org/matomo/master/js/piwik.js","lint":"yarn lint:lib && yarn lint:matomo","lint:lib":"eslint --ext .js,.vue .","lint:matomo":"if [ $(node -e \"console.log(require('fs').existsSync('./test/fixtures/basic/.nuxt/matomo'));\") = \"false\" ]; then yarn test:fixtures; fi && eslint --no-ignore test/fixtures/basic/.nuxt/matomo/","release":"yarn lint && yarn test && standard-version","test":"yarn test:fixtures && yarn test:e2e","test:fixtures":"jest test/fixtures","test:e2e":"jest test/e2e"},"publishConfig":{"access":"public"},"devDependencies":{"@babel/core":"^7.2.2","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/preset-env":"^7.2.3","@nuxtjs/eslint-config":"^0.0.1","babel-core":"7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","eslint":"^5.12.0","eslint-config-standard":"^12.0.0","eslint-plugin-html":"^5.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^22.1.2","eslint-plugin-node":"^8.0.1","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","eslint-plugin-vue":"^5.1.0","get-port":"^4.1.0","jest":"^23.6.0","jsdom":"^13.1.0","nuxt":"^2.3.4","puppeteer":"^1.11.0","standard-version":"^4.4.0"},"gitHead":"406f5b729a72c468bf95789b5a1c2cbaf14fd0f6","bugs":{"url":"https://github.com/pimlie/nuxt-matomo/issues"},"_id":"nuxt-matomo@1.1.1","_npmVersion":"6.5.0-next.0","_nodeVersion":"11.6.0","_npmUser":{"name":"pimlie","email":"pimlie@hotmail.com"},"dist":{"shasum":"3731688601340b0c03c67d7c76f28ad2a174d3b2","size":6371,"noattachment":false,"key":"/nuxt-matomo/-/nuxt-matomo-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/nuxt-matomo/download/nuxt-matomo-1.1.1.tgz"},"maintainers":[{"name":"pimlie","email":"pimlie@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-matomo_1.1.1_1547807588994_0.2707600214785244"},"_hasShrinkwrap":false,"publish_time":1547807589315,"_cnpm_publish_time":1547807589315},"1.1.0":{"name":"nuxt-matomo","version":"1.1.0","license":"MIT","description":"nuxt module for matomo analytics","repository":{"type":"git","url":"git+https://github.com/pimlie/nuxt-matomo.git"},"homepage":"https://github.com/pimlie/nuxt-matomo","main":"lib/module.js","scripts":{"build":"nuxt build test/fixtures/meta-changed","dev":"nuxt test/fixtures/meta-changed","download-matomo":"wget -O test/utils/piwik.js https://raw.githubusercontent.com/matomo-org/matomo/master/js/piwik.js","lint":"yarn lint:lib && yarn lint:matomo","lint:lib":"eslint --ext .js,.vue .","lint:matomo":"if [ $(node -e \"console.log(require('fs').existsSync('./test/fixtures/basic/.nuxt/matomo'));\") = \"false\" ]; then yarn test:fixtures; fi && eslint --no-ignore test/fixtures/basic/.nuxt/matomo/","release":"yarn lint && yarn test && standard-version","test":"yarn test:fixtures && yarn test:e2e","test:fixtures":"jest test/fixtures","test:e2e":"jest test/e2e"},"publishConfig":{"access":"public"},"devDependencies":{"@babel/core":"^7.2.2","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/preset-env":"^7.2.3","@nuxtjs/eslint-config":"^0.0.1","babel-core":"7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","eslint":"^5.12.0","eslint-config-standard":"^12.0.0","eslint-plugin-html":"^5.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^22.1.2","eslint-plugin-node":"^8.0.1","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","eslint-plugin-vue":"^5.1.0","get-port":"^4.1.0","jest":"^23.6.0","jsdom":"^13.1.0","nuxt":"^2.3.4","puppeteer":"^1.11.0","standard-version":"^4.4.0"},"gitHead":"1f9e34c558e3fe2aad21d2f4faacdb9a01f3eff1","bugs":{"url":"https://github.com/pimlie/nuxt-matomo/issues"},"_id":"nuxt-matomo@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"pimlie","email":"pimlie@hotmail.com"},"dist":{"shasum":"dc67ff341ed1406cdc0e7010305e1b19643e4189","size":6230,"noattachment":false,"key":"/nuxt-matomo/-/nuxt-matomo-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nuxt-matomo/download/nuxt-matomo-1.1.0.tgz"},"maintainers":[{"name":"pimlie","email":"pimlie@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-matomo_1.1.0_1546886285925_0.3798778127660851"},"_hasShrinkwrap":false,"publish_time":1546886286089,"_cnpm_publish_time":1546886286089},"1.0.0":{"name":"nuxt-matomo","version":"1.0.0","license":"MIT","description":"nuxt module for matomo analytics","repository":{"type":"git","url":"git+https://github.com/pimlie/nuxt-matomo.git"},"homepage":"https://github.com/pimlie/nuxt-matomo","main":"lib/module.js","scripts":{"build":"nuxt build test/fixture","dev":"nuxt test/fixture","download-matomo":"wget -O test/fixture/static/piwik.js https://raw.githubusercontent.com/matomo-org/matomo/master/js/piwik.js","lint":"yarn lint:lib && yarn lint:matomo","lint:lib":"eslint --ext .js,.vue .","lint:matomo":"if [ $(node -e \"console.log(require('fs').existsSync('./test/fixture/.nuxt/matomo'));\") = \"false\" ]; then yarn test:fixture; fi && eslint --no-ignore test/fixture/.nuxt/matomo/","release":"yarn lint && yarn test && standard-version","test":"yarn test:fixture && yarn test:e2e","test:fixture":"jest test/fixture","test:e2e":"jest test/e2e"},"publishConfig":{"access":"public"},"devDependencies":{"@babel/core":"^7.2.2","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/preset-env":"^7.2.3","@nuxtjs/eslint-config":"^0.0.1","babel-core":"7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","eslint":"^5.12.0","eslint-config-standard":"^12.0.0","eslint-plugin-html":"^5.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jest":"^22.1.2","eslint-plugin-node":"^8.0.1","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","eslint-plugin-vue":"^5.1.0","get-port":"^4.1.0","jest":"^23.6.0","jsdom":"^13.1.0","nuxt":"^2.3.4","puppeteer":"^1.11.0","standard-version":"^4.4.0"},"gitHead":"6b8b5d4e153b48bdd767d029443305e6842c572e","bugs":{"url":"https://github.com/pimlie/nuxt-matomo/issues"},"_id":"nuxt-matomo@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"pimlie","email":"pimlie@hotmail.com"},"dist":{"shasum":"8214ca0a70815f40929011d86abc3fe8a8d354f4","size":5056,"noattachment":false,"key":"/nuxt-matomo/-/nuxt-matomo-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nuxt-matomo/download/nuxt-matomo-1.0.0.tgz"},"maintainers":[{"name":"pimlie","email":"pimlie@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-matomo_1.0.0_1546785566324_0.6512435046910974"},"_hasShrinkwrap":false,"publish_time":1546785566438,"_cnpm_publish_time":1546785566438},"0.5.1":{"name":"nuxt-matomo","version":"0.5.1","license":"MIT","description":"nuxt module for matomo analytics","repository":{"type":"git","url":"git+https://github.com/pimlie/nuxt-matomo.git"},"homepage":"https://github.com/pimlie/nuxt-matomo","main":"index.js","scripts":{"lint":"eslint --ext .js,.vue .","lint-fix":"eslint --ext .js,.vue --fix"},"publishConfig":{"access":"public"},"devDependencies":{"babel-eslint":"^10.0.1","eslint":"^5.10.0","eslint-config-standard":"^12.0.0","eslint-plugin-html":"^5.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0"},"gitHead":"629554c49c18176950d69d0646f7d7e5aa7ddddc","bugs":{"url":"https://github.com/pimlie/nuxt-matomo/issues"},"_id":"nuxt-matomo@0.5.1","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"pimlie","email":"pimlie@hotmail.com"},"dist":{"shasum":"5df466f58beb8ce4a6d10151c0a210131f8142fd","size":3179,"noattachment":false,"key":"/nuxt-matomo/-/nuxt-matomo-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/nuxt-matomo/download/nuxt-matomo-0.5.1.tgz"},"maintainers":[{"name":"pimlie","email":"pimlie@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-matomo_0.5.1_1544460753540_0.8824195025341905"},"_hasShrinkwrap":false,"publish_time":1544460753750,"_cnpm_publish_time":1544460753750},"0.5.0":{"name":"nuxt-matomo","version":"0.5.0","license":"MIT","description":"nuxt module for matomo analytics","repository":{"type":"git","url":"git+https://github.com/pimlie/nuxt-matomo.git"},"homepage":"https://github.com/pimlie/nuxt-matomo","main":"index.js","scripts":{"lint":"eslint --ext .js,.vue .","lint-fix":"eslint --ext .js,.vue --fix"},"publishConfig":{"access":"public"},"devDependencies":{"babel-eslint":"^7.2.3","eslint":"^4.1.1","eslint-config-standard":"^10.2.1","eslint-plugin-html":"^3.0.0","eslint-plugin-import":"^2.6.1","eslint-plugin-node":"^5.1.0","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^3.0.1"},"gitHead":"018f701148b44b3e73f62e837a4a70aab9ed8ef0","bugs":{"url":"https://github.com/pimlie/nuxt-matomo/issues"},"_id":"nuxt-matomo@0.5.0","_npmVersion":"5.7.1","_nodeVersion":"8.9.1","_npmUser":{"name":"pimlie","email":"pimlie@hotmail.com"},"dist":{"shasum":"04c7b7227cc018b2c9640be2ab6c98ba3a2a60d3","size":3691,"noattachment":false,"key":"/nuxt-matomo/-/nuxt-matomo-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nuxt-matomo/download/nuxt-matomo-0.5.0.tgz"},"maintainers":[{"name":"pimlie","email":"pimlie@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-matomo_0.5.0_1520502699937_0.5496926781954194"},"_hasShrinkwrap":false,"publish_time":1520502699991,"_cnpm_publish_time":1520502699991},"0.4.0":{"name":"nuxt-matomo","version":"0.4.0","license":"MIT","description":"nuxt module for matomo analytics","repository":{"type":"git","url":"git+https://github.com/pimlie/nuxt-matomo.git"},"homepage":"https://github.com/pimlie/nuxt-matomo","main":"index.js","scripts":{"lint":"eslint --ext .js,.vue .","lint-fix":"eslint --ext .js,.vue --fix"},"publishConfig":{"access":"public"},"devDependencies":{"babel-eslint":"^7.2.3","eslint":"^4.1.1","eslint-config-standard":"^10.2.1","eslint-plugin-html":"^3.0.0","eslint-plugin-import":"^2.6.1","eslint-plugin-node":"^5.1.0","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^3.0.1"},"gitHead":"b7631f85ec2cce0e7c1a014bf7d07baf2d88f102","bugs":{"url":"https://github.com/pimlie/nuxt-matomo/issues"},"_id":"nuxt-matomo@0.4.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"pimlie","email":"pimlie@hotmail.com"},"dist":{"shasum":"16edad2c7cceeb6fd197ae4195b9f526c6c0b9b6","size":3671,"noattachment":false,"key":"/nuxt-matomo/-/nuxt-matomo-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nuxt-matomo/download/nuxt-matomo-0.4.0.tgz"},"maintainers":[{"name":"pimlie","email":"pimlie@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nuxt-matomo_0.4.0_1518731365814_0.7953390203309734"},"_hasShrinkwrap":false,"publish_time":1518731365862,"_cnpm_publish_time":1518731365862}},"readme":"# Matomo analytics for Nuxt.js\n<a href=\"https://travis-ci.org/pimlie/nuxt-matomo\"><img src=\"https://api.travis-ci.org/pimlie/nuxt-matomo.svg\" alt=\"Build Status\"></a>\n[![npm](https://img.shields.io/npm/dt/nuxt-matomo.svg?style=flat-square)](https://www.npmjs.com/package/nuxt-matomo)\n[![npm (scoped with tag)](https://img.shields.io/npm/v/nuxt-matomo/latest.svg?style=flat-square)](https://www.npmjs.com/package/nuxt-matomo)\n\nAdd Matomo analytics to your nuxt.js application. This plugin automatically sends first page and route change events to matomo\n\n## Setup\n> nuxt-matomo is not enabled in `dev` mode unless you set the debug option\n\n- Install with \n```\nnpm install --save nuxt-matomo\n// or\nyarn add nuxt-matomo\n```\n- Add `nuxt-matomo` to `modules` section of `nuxt.config.js`\n```js\n  modules: [\n    ['nuxt-matomo', { matomoUrl: '//matomo.example.com/', siteId: 1 }],\n  ]\n````\n\n## Usage\n\nBy default `route.fullPath` and the [document title](#documenttitle) are tracked. You can add additional tracking info by adding a `route.meta.matomo` object in a middleware or by adding a matomo function or object to your page components.\n\nThe matomo javascript tracker is also injected as `$matomo` in the Nuxt.js context. Use this to e.g. manually track a page view. See the [injected](./test/fixtures/basic/pages/injected.vue) and [manually tracked](./test/fixtures/basic/pages/manuallytracked.vue) pages in the test fixture for an example\n\n> :blue_book: See the official [Matomo JavaScript Tracking client docs](https://developer.matomo.org/api-reference/tracking-javascript) for a full overview of available methods\n\n#### Middleware example\n```js\nexport default function ({ route, store }) {\n  route.meta.matomo = {\n    documentTitle: ['setDocumentTitle', 'Some other title'],\n    userId: ['setUserId', store.state.userId],\n    someVar: ['setCustomVariable', 1, 'VisitorType', 'Member']\n  }\n}\n\n```\n\n#### Page component example\n```js\n<template>\n  <div>\n    <h1 v-if=\"expVarId === 1\">New Content</h1>\n    <h1 v-else>Original Content</h1>\n  </div>\n</template>\n\n<script>\n  export default {\n    // the matomo function is bound to the Matomo tracker\n    // (this function is called before the page component is initialized)\n    matomo(from, to, store) {\n      this.setCustomVariable(1, 'VisitorType', 'Special Member')\n    },\n    // return false if you want to manually track here\n    matomo(from, to, store) {\n      this.setDocumentTitle('my title')\n      this.trackPageView()\n      return false\n    },\n    // or let the function return an object\n    matomo(from, to, store) {\n      // this object is merged with the object returned by a global middleware,\n      // use the object key to override properties from the middleware\n      return {\n        someVar: ['setCustomVariable', 1, 'VisitorType', 'Special Member']\n      }\n    },\n    // or simply set an object\n    matomo: {\n      someVar: ['setCustomVariable', 1, 'VisitorType', 'Special Member']\n    },\n    [...]\n  }\n</script>\n```\n\n<details>\n<summary><b style=\"font-size: .875em\">Track manually with vue-router beforeRouterEnter guard</b></summary>\n\nThis is overly complicated, you probably shouldnt use this\n\n```js\n<template>\n  <div>\n    <h1>manually tracked</h1>\n  </div>\n</template>\n\n<script>\nexport default {\n  matomo: false,\n  head() {\n    return {\n      title: this.title\n    }\n  },\n  data() {\n    return {\n      title: 'manually tracked'\n    }\n  },\n  beforeRouteEnter(to, from, next) {\n    next((vm) => {\n      vm.$matomo.setDocumentTitle(vm.title)\n      vm.$matomo.trackPageView()\n    })\n  }\n}\n</script>\n\n```\n</details>\n\n## Consent\n\nThe plugin extends the matomo tracker with a `setConsent(<consentGiven>)` convenience method. \n\nWhen `setConsent()` is called, the plugin will automatically call rememberConsentGiven when the module option consentExpires has been set. To forget consent you can pass false to this method.\n\nSee the [basic fixture](./test/fixtures/basic) for an example how to use this method in combination with a Vuex store.\n\n## Module Options\n\n#### `siteId` (required)\n\nThe matomo siteId\n\n#### `matomoUrl`\n\n- Default: ` `\nUrl to matomo installation\n\n#### `trackerUrl`\n\n- Default: `matomoUrl + 'piwik.php'`\nUrl to piwik.php\n\n#### `scriptUrl`\n\n- Default: `matomoUrl + 'piwik.js'`\nUrl to piwik.js\n\n#### `onMetaChange`\n\n- Default: `false`\nIf true, page views will be tracked on the first vue-meta update after navigation occured. See caveats below for more information\n\n#### `blockLoading`\n\n- Default: `false`\n\nIf true, loading of the page is blocked until `window.Piwik` becomes available.\nIf false, a proxy implementation is used to delay tracker calls until Piwik is available.\n\n#### `addNoProxyWorkaround`\n\n- Default: `true`\n\nWhen `blockLoading: false` we have to wait until `window.Piwik` becomes available, if a browser supports a [`Proxy`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) then we use this. Older browsers like IE9/10 dont support this, for these browsers a manual list of api methods to proxy is added when `addNoProxyWorkaround: true`. See the list [here](./lib/api-methods-list.json)\n\n> :warning: If you set this to `false` and still need to support IE9/10 you need to include a [ProxyPolyfill](https://github.com/GoogleChrome/proxy-polyfill) manually as [Babel](https://babeljs.io/docs/en/learn/#proxies) doesnt provide one\n\n#### `cookies`\n\n- Default: `true`\nIf false, Matomo will not create a tracking cookie\n\n#### `consentRequired`\n\n- Default: `false`\nIf true, Matomo will not start tracking until the user has given consent\n\n#### `consentExpires`\n\n- Default: `0`\nIf greater than 0 and when the `tracker.setConsent` method is called then we call `rememberConsentGiven(<consentExpires>)` instead of `setConsentGiven`. See above for more information\n\n#### `doNotTrack`\n\n- Default: `false`\nIf true, dont track users who have set Mozilla's (proposed) Do Not Track setting\n\n#### `debug`\n\n- Default: `false`\nIf true, the plugin will log debug information to the console. \n\n> The plugin also logs debug information when Nuxt's debug option is set\n\n#### `verbose`\n\n- Default: `false`\nIf true, the plugin will log every tracker function call to the console\n\n## Caveats\n\n### document.title\n\nNuxt.js uses vue-meta to asynchronously update the `document.title`, this means by default we dont know when the `document.title` is changed. Therefore the default behaviour for this plugin is to set the `route.path` as document title.\n\nIf you set the module option `onMetaChange: true`, then this plugin will track page views on the first time some meta data is updated by vue-meta (after navigation). This makes sure the `document.title` is available and updated, but if you have multiple pages without any meta data then those page views **could not be tracked**\n\n> vue-meta's changed event is only triggered when any meta data changed, make sure all your routes have a [`head`](https://nuxtjs.org/api/pages-head) option.\n\nWhen debug is true, this plugin will show warnings in the console when\n- it detects pages without a title \n- when no vue-meta changed event is triggered within 500ms after navigation (tracking could still occur, the timeout only shows a warning)\n\nYou can also use a combination of manual tracking and a vuex store to keep track of the document.title\n","_attachments":{},"homepage":"https://github.com/pimlie/nuxt-matomo","bugs":{"url":"https://github.com/pimlie/nuxt-matomo/issues"},"license":"MIT"}