{"_id":"@ambassify/track-js","_rev":"11-adf830861b2ac3ea397afbfa71724a70","name":"@ambassify/track-js","dist-tags":{"latest":"1.4.2"},"versions":{"1.2.2":{"name":"@ambassify/track-js","version":"1.2.2","keywords":["track"],"author":{"name":"Ambassify","email":"dev@ambassify.com"},"license":"ISC","_id":"@ambassify/track-js@1.2.2","maintainers":[{"name":"ambassify","email":"dev@ambassify.com"}],"homepage":"https://github.com/bubobox/track-js#readme","bugs":{"url":"https://github.com/bubobox/track-js/issues"},"dist":{"shasum":"92b8e0fa445717c554c5b674fd3971e7134317d3","tarball":"https://registry.npmjs.org/@ambassify/track-js/-/track-js-1.2.2.tgz","integrity":"sha512-QGZW7PMUa4OBBb9oxvdrwXomCdGkTufp/iTem0LnaPyBUKaOCagtUAC9Qov5TBTk6GlnWUHlOK2DTpQk4bW6JQ==","signatures":[{"sig":"MEQCIF1lR9HImYM2hrKoAxMzsIVGIvecLQvURpZcADwxIBToAiBSyIt8goFjjImsg3J42IJkQVV1RX8WgHLztzviRE9VgQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"92b8e0fa445717c554c5b674fd3971e7134317d3","gitHead":"4b12617fb7ea8c783595eeab6cdd7d9381372907","scripts":{"test":"npm run build_lib && npm -s run test:unit","build":"npm run build_lib && npm run build_umd","clean":"n-clean dist && n-clean lib","version":"git add -A lib dist","build_lib":"babel -d lib src","build_umd":"BABEL_ENV=browser webpack","test:unit":"istanbul cover node_modules/.bin/_mocha","preversion":"npm run clean && npm run build && npm test","postversion":"git push && git push --tags"},"_npmUser":{"name":"ambassify","email":"dev@ambassify.com"},"repository":{"url":"git+https://github.com/bubobox/track-js.git","type":"git"},"_npmVersion":"3.10.8","description":"Javascript client-side library for Track service","_nodeVersion":"6.9.1","dependencies":{"xhr2":"^0.1.3","babel-runtime":"^6.20.0","compact-base64":"^1.1.0"},"devDependencies":{"mocha":"^3.2.0","webpack":"^1.12.13","istanbul":"^0.4.5","babel-cli":"^6.5.1","babel-core":"^6.5.1","babel-loader":"^6.2.2","npm-build-tools":"^2.2.5","babel-preset-es2015":"^6.5.0","mocha-circleci-reporter":"0.0.2","babel-plugin-transform-runtime":"^6.5.0","babel-plugin-add-module-exports":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/track-js-1.2.2.tgz_1488380102418_0.47084659268148243","host":"packages-12-west.internal.npmjs.com"},"directories":{}},"1.3.0":{"name":"@ambassify/track-js","version":"1.3.0","keywords":["track"],"author":{"name":"Ambassify","email":"dev@ambassify.com"},"license":"ISC","_id":"@ambassify/track-js@1.3.0","maintainers":[{"name":"ambassify","email":"dev@ambassify.com"}],"homepage":"https://github.com/bubobox/track-js#readme","bugs":{"url":"https://github.com/bubobox/track-js/issues"},"dist":{"shasum":"9faa48c98f6de8218fd4b8ad8dbe3f6afa08d1b1","tarball":"https://registry.npmjs.org/@ambassify/track-js/-/track-js-1.3.0.tgz","integrity":"sha512-lmC0un6pznJtfrAbj2ZgZxJIRsh8/zrbvdLxmYidfhdxzluZZL2ktsCWz5Pu43FaN+mch5T9epuO/AOyM96+Zw==","signatures":[{"sig":"MEUCIBHsMc1H/IE/2K8hodYQc6IqogSJrXtILk540Rj98rzsAiEAwIcjgOP8MdyKvm07cPCmQZP+L6dQLR5TQIE+xvszPf8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"9faa48c98f6de8218fd4b8ad8dbe3f6afa08d1b1","gitHead":"16d1bd495ee4aebe0b393eb0005dbf3b3ec00545","scripts":{"test":"npm run build_lib && npm -s run test:unit","build":"npm run build_lib && npm run build_umd","clean":"n-clean dist && n-clean lib","version":"git add -A lib dist","build_lib":"babel -d lib src","build_umd":"BABEL_ENV=browser webpack","test:unit":"istanbul cover node_modules/.bin/_mocha","preversion":"npm run clean && npm run build && npm test","postversion":"git push && git push --tags"},"_npmUser":{"name":"ambassify","email":"dev@ambassify.com"},"repository":{"url":"git+https://github.com/bubobox/track-js.git","type":"git"},"_npmVersion":"3.10.10","description":"Javascript client-side library for Track service","_nodeVersion":"6.10.1","dependencies":{"unfetch":"^2.1.2","node-fetch":"^1.6.3","babel-runtime":"^6.20.0","compact-base64":"^1.1.0"},"devDependencies":{"mocha":"^3.2.0","webpack":"^1.12.13","istanbul":"^0.4.5","babel-cli":"^6.5.1","babel-core":"^6.5.1","null-loader":"^0.1.1","babel-loader":"^6.2.2","npm-build-tools":"^2.2.5","babel-preset-es2015":"^6.5.0","mocha-circleci-reporter":"0.0.2","babel-plugin-transform-runtime":"^6.5.0","babel-plugin-add-module-exports":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/track-js-1.3.0.tgz_1490878194045_0.11277730599977076","host":"packages-12-west.internal.npmjs.com"},"directories":{}},"1.4.0":{"name":"@ambassify/track-js","version":"1.4.0","keywords":["track"],"author":{"name":"Ambassify","email":"dev@ambassify.com"},"license":"ISC","_id":"@ambassify/track-js@1.4.0","maintainers":[{"name":"ambassify","email":"dev@ambassify.com"}],"homepage":"https://github.com/bubobox/track-js#readme","bugs":{"url":"https://github.com/bubobox/track-js/issues"},"dist":{"shasum":"fd493cc89e9673ea384d1932e7159d2d6371f615","tarball":"https://registry.npmjs.org/@ambassify/track-js/-/track-js-1.4.0.tgz","integrity":"sha512-YRi+h/YJQLjynEXzz2ZQjcYpa+dSje+lhKpW9HOAw/bxkuKN7GYcf1RgAIPXvttSL3qwVK25MxHfg5Qk+dPOng==","signatures":[{"sig":"MEUCIQDhD03TqwRQpNPNmTZbgszo3BNNqE3BqjaTmWgL6rwscgIgacV7WvVvo9rvNh2RDeyyI6qMwi7OrsIYFOCipvQfLbo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"fd493cc89e9673ea384d1932e7159d2d6371f615","gitHead":"e784c0229d31780e7b0553a952aa12eb82f3d0c2","scripts":{"test":"npm run build_lib && npm -s run test:unit","build":"npm run build_lib && npm run build_umd","clean":"n-clean dist && n-clean lib","version":"git add -A lib dist","build_lib":"babel -d lib src","build_umd":"BABEL_ENV=browser webpack","test:unit":"istanbul cover node_modules/.bin/_mocha","preversion":"npm run clean && npm run build && npm test","postversion":"git push && git push --tags"},"_npmUser":{"name":"ambassify","email":"dev@ambassify.com"},"repository":{"url":"git+https://github.com/bubobox/track-js.git","type":"git"},"_npmVersion":"4.4.4","description":"Javascript client-side library for Track service","_nodeVersion":"6.10.1","dependencies":{"unfetch":"^2.1.2","node-fetch":"^1.6.3","babel-runtime":"^6.20.0","compact-base64":"^1.1.0"},"devDependencies":{"mocha":"^3.2.0","webpack":"^1.12.13","istanbul":"^0.4.5","babel-cli":"^6.5.1","babel-core":"^6.5.1","null-loader":"^0.1.1","babel-loader":"^6.2.2","npm-build-tools":"^2.2.5","babel-preset-es2015":"^6.5.0","mocha-circleci-reporter":"0.0.2","babel-plugin-transform-runtime":"^6.5.0","babel-plugin-add-module-exports":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/track-js-1.4.0.tgz_1491896362820_0.712886315304786","host":"packages-18-east.internal.npmjs.com"},"directories":{}},"1.4.1":{"name":"@ambassify/track-js","version":"1.4.1","keywords":["track"],"author":{"name":"Ambassify","email":"dev@ambassify.com"},"license":"ISC","_id":"@ambassify/track-js@1.4.1","maintainers":[{"name":"ambassify","email":"dev@ambassify.com"}],"homepage":"https://github.com/bubobox/track-js#readme","bugs":{"url":"https://github.com/bubobox/track-js/issues"},"dist":{"shasum":"4a9f00803bbd1cfca95a87dd520731fa3068c150","tarball":"https://registry.npmjs.org/@ambassify/track-js/-/track-js-1.4.1.tgz","integrity":"sha512-QfXxCsGoC8RTjtRNINddimnxcwNATGZf0qfOeuTrzvEuoblZfzbVdeT1NEpWinLdxq8/8NnWvO9cnfY9/GoUeA==","signatures":[{"sig":"MEQCIBtrJEvzEKguUcbfRWBeqNixwtpqu7mdhHaaXv9zVlvBAiAFkjGzoZ4sD+JKgwRApE+rYOoHftwFUV0gMXtMAZMNUg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"4a9f00803bbd1cfca95a87dd520731fa3068c150","gitHead":"6ce5b02df34c30dbc58dfca02cc9442376fc726d","scripts":{"test":"npm run build_lib && npm -s run test:unit","build":"npm run build_lib && npm run build_umd","clean":"n-clean dist && n-clean lib","version":"git add -A lib dist","build_lib":"babel -d lib src","build_umd":"BABEL_ENV=browser webpack","test:unit":"istanbul cover node_modules/.bin/_mocha","preversion":"npm run clean && npm run build && npm test","postversion":"git push && git push --tags"},"_npmUser":{"name":"ambassify","email":"dev@ambassify.com"},"repository":{"url":"git+https://github.com/bubobox/track-js.git","type":"git"},"_npmVersion":"3.10.9","description":"Javascript client-side library for Track service","_nodeVersion":"6.9.2","dependencies":{"babel-runtime":"^6.20.0","compact-base64":"^1.1.0","isomorphic-unfetch":"^2.0.0"},"devDependencies":{"mocha":"^3.2.0","webpack":"^1.12.13","istanbul":"^0.4.5","babel-cli":"^6.5.1","babel-core":"^6.5.1","null-loader":"^0.1.1","babel-loader":"^6.2.2","npm-build-tools":"^2.2.5","babel-preset-es2015":"^6.5.0","mocha-circleci-reporter":"0.0.2","babel-plugin-transform-runtime":"^6.5.0","babel-plugin-add-module-exports":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/track-js-1.4.1.tgz_1503853153240_0.09976194729097188","host":"s3://npm-registry-packages"},"directories":{}},"1.4.2":{"name":"@ambassify/track-js","version":"1.4.2","keywords":["track"],"author":{"name":"Ambassify","email":"dev@ambassify.com"},"license":"ISC","_id":"@ambassify/track-js@1.4.2","maintainers":[{"name":"ambassify","email":"dev@ambassify.com"},{"name":"jorgenevens","email":"jorgen@evens.eu"},{"name":"sitebase","email":"wim@sitebase.be"}],"homepage":"https://github.com/bubobox/track-js#readme","bugs":{"url":"https://github.com/bubobox/track-js/issues"},"dist":{"shasum":"07d929fb6e7d93c03e7ac76d90d3f04acde0f5de","tarball":"https://registry.npmjs.org/@ambassify/track-js/-/track-js-1.4.2.tgz","integrity":"sha512-HwqbA09DpAbrfVw5VtlRG2cMP56U9dQX2YVZcjqKar3hXjIskgpC7pRPrDySO2QP9KFGy0m8afZIXvko6PFW/w==","signatures":[{"sig":"MEUCIQCizDSxw4fvR5Ym68JM5pRwmbd+lfFdEs37K+9pGbuTPQIgLPstsih7lOII5D6QqJjvnREEzHOqNCAL1PF43VUQRwg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"07d929fb6e7d93c03e7ac76d90d3f04acde0f5de","gitHead":"2f20ebcbf0543dc8b1d5c349b76df6d770129725","scripts":{"test":"npm run build_lib && npm -s run test:unit","build":"npm run build_lib && npm run build_umd","clean":"n-clean dist && n-clean lib","version":"git add -A lib dist","build_lib":"babel -d lib src","build_umd":"BABEL_ENV=browser webpack","test:unit":"istanbul cover node_modules/.bin/_mocha","preversion":"npm run clean && npm run build && npm test","postversion":"git push && git push --tags"},"_npmUser":{"name":"ambassify","email":"dev@ambassify.com"},"repository":{"url":"git+https://github.com/bubobox/track-js.git","type":"git"},"_npmVersion":"3.10.10","description":"Javascript client-side library for Track service","_nodeVersion":"6.11.2","dependencies":{"babel-runtime":"^6.20.0","compact-base64":"^1.1.0","@ambassify/fetch":"^1.0.1"},"devDependencies":{"mocha":"^3.2.0","webpack":"^1.12.13","istanbul":"^0.4.5","babel-cli":"^6.5.1","babel-core":"^6.5.1","null-loader":"^0.1.1","babel-loader":"^6.2.2","npm-build-tools":"^2.2.5","babel-preset-es2015":"^6.5.0","mocha-circleci-reporter":"0.0.2","babel-plugin-transform-runtime":"^6.5.0","babel-plugin-add-module-exports":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/track-js-1.4.2.tgz_1503925608997_0.5971793534699827","host":"s3://npm-registry-packages"},"directories":{}}},"time":{"created":"2017-03-01T14:55:04.263Z","modified":"2025-10-09T08:36:39.385Z","1.2.2":"2017-03-01T14:55:04.263Z","1.3.0":"2017-03-30T12:49:55.879Z","1.4.0":"2017-04-11T07:39:23.442Z","1.4.1":"2017-08-27T16:59:14.398Z","1.4.2":"2017-08-28T13:06:50.045Z"},"bugs":{"url":"https://github.com/bubobox/track-js/issues"},"author":{"name":"Ambassify","email":"dev@ambassify.com"},"license":"ISC","homepage":"https://github.com/bubobox/track-js#readme","keywords":["track"],"repository":{"url":"git+https://github.com/bubobox/track-js.git","type":"git"},"description":"Javascript client-side library for Track service","maintainers":[{"email":"dev@ambassify.com","name":"ambassify-admin"},{"email":"jorgen@evens.eu","name":"jorgenevens"},{"email":"wim@sitebase.be","name":"sitebase"}],"readme":"# track-js\n\nJavascript client-side library for Track service.\n\n- `dist/` has the latest (UMD-build) release for browsers.\n- `lib/` has the latest babelified build for use with bundlers.\n\nYou can use `https://cdn.rawgit.com/bubobox/track-js/[tag]/dist/track.min.js` in your regular HTML scripts by filling in the desired tag.\n\nExample using `v1.0.0`:\n\n```html\n<!DOCTYPE html>\n<html>\n    <head>\n        <meta charset=\"utf-8\">\n        <title></title>\n        <script src=\"https://cdn.rawgit.com/bubobox/track-js/v1.0.0/dist/track.min.js\"></script>\n    </head>\n    <body>\n        <script>\n            var tracker = new TrackJS({\n                /* options */\n            });\n        </script>\n    </body>\n</html>\n```\n\n## Testing\n\nThe included tests can be run in node using `npm test` or in the browser by opening the `test/mocha.html` file with the endpoint and key query parameters set correctly.\n\n```\ntest/mocha.html?endpoint=https://forwrd.it&key=<api-key>\n```\n\n## Release\n\nUse `npm version [patch|minor|major]` to publish new releases. It will automatically build the project, commit the new build and create a git tag.\n","readmeFilename":"README.md"}