{"_id":"clappr-ga-events-plugin","_rev":"15-c6403a5fec9c18931191464a244c780e","name":"clappr-ga-events-plugin","description":"Google Analytics Events plugin for Clappr player.","dist-tags":{"latest":"2.2.0"},"versions":{"0.1.0":{"name":"clappr-ga-events-plugin","version":"0.1.0","description":"Google Analytics Events plugin for Clappr player.","main":"dist/clappr-ga-events-plugin.js","scripts":{"dev":"webpack","dist":"webpack -p","watch":"webpack -w","demo":"http-cli -r ./ -a 0.0.0.0 -p 8090","check":"david"},"author":{"name":"Karim Slimani","email":"karim@playmedia.fr"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/playmedia/clappr-ga-events-plugin.git"},"devDependencies":{"babel-core":"6.14.0","babel-loader":"6.2.5","babel-plugin-add-module-exports":"0.2.1","babel-preset-es2015":"6.14.0","clean-webpack-plugin":"0.1.10","david":"9.0.0","http-cli":"1.1.0","webpack":"1.13.2"},"gitHead":"3fb6a0220634b0ebe0e4f9fb0c15f144fc446b74","bugs":{"url":"https://github.com/playmedia/clappr-ga-events-plugin/issues"},"homepage":"https://github.com/playmedia/clappr-ga-events-plugin#readme","_id":"clappr-ga-events-plugin@0.1.0","_shasum":"0dfa5727369894045e051770c422e99c9d8900fd","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"kslimani","email":"karim@playmedia.fr"},"dist":{"shasum":"0dfa5727369894045e051770c422e99c9d8900fd","tarball":"https://registry.npmjs.org/clappr-ga-events-plugin/-/clappr-ga-events-plugin-0.1.0.tgz","integrity":"sha512-FGImyDtDkQVwFFH2lyQEopKlBPnp7gdscIeKMFCoWcFn7ry4JLKiChUycged244YXDUa0RZrFKg518LzgjGRog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb8wwDZBCR1nTfCv5XpCfZVgcqhCBSMbVSCgPa8Zo4RgIhALhJmza+r8t11HdYFW1ElKnfHPoY4ohPWK+h2ao0Jybv"}]},"maintainers":[{"name":"kslimani","email":"karim@playmedia.fr"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/clappr-ga-events-plugin-0.1.0.tgz_1473686912075_0.023753189714625478"},"directories":{}},"0.1.1":{"name":"clappr-ga-events-plugin","version":"0.1.1","description":"Google Analytics Events plugin for Clappr player.","main":"dist/clappr-ga-events-plugin.js","scripts":{"dev":"webpack","dist":"webpack -p","watch":"webpack -w","demo":"http-cli -r ./ -a 0.0.0.0 -p 8090","check":"david"},"author":{"name":"Karim Slimani","email":"karim@playmedia.fr"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/playmedia/clappr-ga-events-plugin.git"},"devDependencies":{"babel-core":"6.14.0","babel-loader":"6.2.5","babel-plugin-add-module-exports":"0.2.1","babel-preset-es2015":"6.14.0","clean-webpack-plugin":"0.1.10","david":"9.0.0","http-cli":"1.1.0","webpack":"1.13.2"},"gitHead":"d8fd0c9300a124d80d3500b0021501735b89f03d","bugs":{"url":"https://github.com/playmedia/clappr-ga-events-plugin/issues"},"homepage":"https://github.com/playmedia/clappr-ga-events-plugin#readme","_id":"clappr-ga-events-plugin@0.1.1","_shasum":"0cd749c0e360032579816694bfbbf3e837ddb791","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"kslimani","email":"karim@playmedia.fr"},"dist":{"shasum":"0cd749c0e360032579816694bfbbf3e837ddb791","tarball":"https://registry.npmjs.org/clappr-ga-events-plugin/-/clappr-ga-events-plugin-0.1.1.tgz","integrity":"sha512-61HP4+WmIzrm12m1JeZhYFjZqe7y0sN4a7xniGK3xjlfCzRBAxsdsaBUk1eXKyUtKJPINE3wChRGsYlQyigMRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeJ8A4OI/w0oqzP5T/KAHBEdWZxGtb+BuZeQdTr1v4egIhAJZemWiRuxfJUqgml3Js2aBIrGcnv5eKujuQYsIS2GXo"}]},"maintainers":[{"name":"kslimani","email":"karim@playmedia.fr"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/clappr-ga-events-plugin-0.1.1.tgz_1473698345381_0.7098274088930339"},"directories":{}},"0.1.2":{"name":"clappr-ga-events-plugin","version":"0.1.2","description":"Google Analytics Events plugin for Clappr player.","main":"dist/clappr-ga-events-plugin.js","scripts":{"dev":"webpack","dist":"webpack -p","watch":"webpack -w","demo":"http-cli -r ./ -a 0.0.0.0 -p 8090","check":"david"},"author":{"name":"Karim Slimani","email":"karim@playmedia.fr"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/playmedia/clappr-ga-events-plugin.git"},"devDependencies":{"babel-core":"6.14.0","babel-loader":"6.2.5","babel-plugin-add-module-exports":"0.2.1","babel-preset-es2015":"6.14.0","clean-webpack-plugin":"0.1.10","david":"9.0.0","http-cli":"1.1.0","webpack":"1.13.2"},"gitHead":"68a73f2cf004640997047d10b44f26ed2b83579b","bugs":{"url":"https://github.com/playmedia/clappr-ga-events-plugin/issues"},"homepage":"https://github.com/playmedia/clappr-ga-events-plugin#readme","_id":"clappr-ga-events-plugin@0.1.2","_shasum":"3c699086c46db1caf0b8e2399c3ea5518351eb84","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"kslimani","email":"karim@playmedia.fr"},"dist":{"shasum":"3c699086c46db1caf0b8e2399c3ea5518351eb84","tarball":"https://registry.npmjs.org/clappr-ga-events-plugin/-/clappr-ga-events-plugin-0.1.2.tgz","integrity":"sha512-3yb4M5WEKLqtLE4vYTAVG7xkTTBQLUWtb385FYwnA4My32jgPyWoKsjmqh2iWssnnBMydGvwk4RUFo8yK5jolg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDcskpMqAqOgka2ARtG+0SmyoLPOmUBUCmajlmfSnOfwIgFHydX4x/x3+y6jX7eycxthb+hbNEROfg/qvKxwXWicU="}]},"maintainers":[{"name":"kslimani","email":"karim@playmedia.fr"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/clappr-ga-events-plugin-0.1.2.tgz_1474305056841_0.9824508007150143"},"directories":{}},"0.1.3":{"name":"clappr-ga-events-plugin","version":"0.1.3","description":"Google Analytics Events plugin for Clappr player.","main":"dist/clappr-ga-events-plugin.js","scripts":{"dist":"npm run dist-main && npm run dist-min","dist-main":"webpack --progress","dist-min":"webpack --progress -p --optimize-mangle --optimize-dedupe --output-filename clappr-ga-events-plugin.min.js","watch":"webpack -w","demo":"http-cli -r ./ -a 0.0.0.0 -p 8090","check":"david"},"author":{"name":"Karim Slimani","email":"karim@playmedia.fr"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/playmedia/clappr-ga-events-plugin.git"},"devDependencies":{"babel-core":"6.14.0","babel-loader":"6.2.5","babel-plugin-add-module-exports":"0.2.1","babel-preset-es2015":"6.14.0","clean-webpack-plugin":"0.1.10","david":"9.0.0","http-cli":"1.1.0","webpack":"1.13.2"},"gitHead":"e3b547a2630546f52f0971d5c69e628ff4ee565d","bugs":{"url":"https://github.com/playmedia/clappr-ga-events-plugin/issues"},"homepage":"https://github.com/playmedia/clappr-ga-events-plugin#readme","_id":"clappr-ga-events-plugin@0.1.3","_shasum":"4e92dd13c97e8a8f6a7c77cda2eeb622fa34a202","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"kslimani","email":"karim@playmedia.fr"},"dist":{"shasum":"4e92dd13c97e8a8f6a7c77cda2eeb622fa34a202","tarball":"https://registry.npmjs.org/clappr-ga-events-plugin/-/clappr-ga-events-plugin-0.1.3.tgz","integrity":"sha512-3nvJHqtHNK624TVKlSxyV2aGo/axAR6tiP+A1Tt0UUhb1xeHZBtnqeIX/Z0oBHkp19vmNdw1ZU3rr3tSNrJLaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqHf1FWWWkkexSXc+7hlGl0SdFaq2y5nx8DdGkFZtB1wIgcN7t+MM0o3PTtb2DLS6PCoWnGJ/io/UZo+BH4qZhtNo="}]},"maintainers":[{"name":"kslimani","email":"karim@playmedia.fr"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/clappr-ga-events-plugin-0.1.3.tgz_1475686424723_0.6169919604435563"},"directories":{}},"1.0.0":{"name":"clappr-ga-events-plugin","version":"1.0.0","description":"Google Analytics Events plugin for Clappr player.","main":"dist/clappr-ga-events-plugin.js","scripts":{"build":"webpack --progress --mode production","dist":"webpack --progress --mode production","release":"npm run build && npm run dist","start":"webpack-dev-server --mode development"},"author":{"name":"Karim Slimani","email":"karim@playmedia.fr"},"license":"MIT","keywords":["clappr","google","analytics","events"],"repository":{"type":"git","url":"git+https://github.com/playmedia/clappr-ga-events-plugin.git"},"devDependencies":{"@babel/core":"^7.6","@babel/preset-env":"^7.6","babel-loader":"^8.0","babel-plugin-add-module-exports":"^1.0","core-js":"^3.3","uglifyjs-webpack-plugin":"^2.2","webpack":"^4.0","webpack-build-notifier":"^1.1","webpack-cli":"^3.3","webpack-dev-server":"^3.8"},"gitHead":"963112d0cff0cf8470005d56ea0e87ef2b1ae0cf","bugs":{"url":"https://github.com/playmedia/clappr-ga-events-plugin/issues"},"homepage":"https://github.com/playmedia/clappr-ga-events-plugin#readme","_id":"clappr-ga-events-plugin@1.0.0","_nodeVersion":"8.16.0","_npmVersion":"6.11.2","dist":{"integrity":"sha512-PGx5mErKueJ5OEDnHSxEJgIZWDG38uZhM+eWL4VpCEArbtA2A4mJPDxcfY9UXUsWfbx584kkOi1sLcO0ReowzA==","shasum":"7331ebd37d08f357b6527ba92c2629c7de007c2d","tarball":"https://registry.npmjs.org/clappr-ga-events-plugin/-/clappr-ga-events-plugin-1.0.0.tgz","fileCount":9,"unpackedSize":186446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduDn8CRA9TVsSAnZWagAATEUP/2n7kjazLWDzf/JTxTi5\nHCrFjOiT3nRfoXeqQexgrHsA/0TWdha5Rw81EzcPGTrfM2VRgbMCJo4mlSQ2\nngQXV4R5PgLAPYtANxSUHuQAy8/QF+RPfDIp9u+3rYbnE8tqn+HEUiFhUhif\njVCvqEW1orumdOPsd9D9qxJBOXmrYxrA2AbYWxu97qsQzvQVJmmU02T9UKJt\nl6E+TfUSl36yL8HzkfP2DkW/aaSBXVto5GK841kj1NBx1js2mwmm9p5Arzyf\n+UkOv4CwfeMgweylC82/YjqD8P3mQiBunQYgVnGeL1LEoABQnzQyMBsFe/Iv\nFcfDyVte8pClNGi5d22RjnEMnm0QAIsgNNyI/lH527cKbYjKvoEQj1ffZ7bB\nkHgIrzSCBww/b68Qn15mM8sFIsrwllM6hLCdoac+2bOTO1q1sfAUrUQ23pa8\n3/UNjLUJewt+6z4g1Xu0a0z8HrsGK9d6hAQSG2AUeoZ5BcHkykqE6V5yHAZX\njcM/v5F8HCUaht7V480JcE4xpS1sVd7qIbZuBEkc2NBMls1Sx3MOH2U9UU2t\n+M+f2joR5nz3ri1mcXQhRzM3kyAQa4foAe9MNm1t9U4MpaGu+yTHCIO7ZTTd\nDas2AD5B22fqWVhslRNCQxDJlZfwdN5L2Ek7ITMUKGuvOCwFuHq2QT2xjbu+\nXaJ0\r\n=sFzV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsg4mxgGX7svL+iNJh9hHFFLVg5czAuwfaboE6aHc5/QIgOgmY69KRXg+80dl4f4IWxFVD05Demd3hYheCupCfNEs="}]},"maintainers":[{"name":"kslimani","email":"karim@playmedia.fr"}],"_npmUser":{"name":"kslimani","email":"karim@playmedia.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clappr-ga-events-plugin_1.0.0_1572354556139_0.2896684806625145"},"_hasShrinkwrap":false},"1.1.0":{"name":"clappr-ga-events-plugin","version":"1.1.0","description":"Google Analytics Events plugin for Clappr player.","main":"dist/clappr-ga-events-plugin.js","scripts":{"build":"webpack --progress --mode production","dist":"webpack --progress --mode production","release":"npm run build && npm run dist","start":"webpack-dev-server --mode development"},"author":{"name":"Karim Slimani","email":"karim@playmedia.fr"},"license":"MIT","keywords":["clappr","google","analytics","events"],"repository":{"type":"git","url":"git+https://github.com/playmedia/clappr-ga-events-plugin.git"},"devDependencies":{"@babel/core":"^7.6","@babel/preset-env":"^7.6","babel-loader":"^8.0","babel-plugin-add-module-exports":"^1.0","core-js":"^3.3","uglifyjs-webpack-plugin":"^2.2","webpack":"^4.0","webpack-build-notifier":"^1.1","webpack-cli":"^3.3","webpack-dev-server":"^3.8"},"gitHead":"e5e53483aef288d5ef74f522dc6a339b5e3b34bc","bugs":{"url":"https://github.com/playmedia/clappr-ga-events-plugin/issues"},"homepage":"https://github.com/playmedia/clappr-ga-events-plugin#readme","_id":"clappr-ga-events-plugin@1.1.0","_nodeVersion":"8.16.0","_npmVersion":"6.11.2","dist":{"integrity":"sha512-TgOkuQX1Qc91ujbrAo78nsGj4ZsCa760UZHqaK7NuelJoWZwgXmVir/otpvpHLtPyfGUK3NmcyroDNiZHdzFtw==","shasum":"974ca21101f3b8cb1ebf623ae3859d16a60549a8","tarball":"https://registry.npmjs.org/clappr-ga-events-plugin/-/clappr-ga-events-plugin-1.1.0.tgz","fileCount":9,"unpackedSize":187691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduaJ3CRA9TVsSAnZWagAAZNIP/1XyIVBw4yunUEbEBaD7\nkIc6hd12qyboO1Z2QMBg7GOuU9Bv8fzYbdWOXdkntwBDE/nsc2yxAxsWCvO+\namlAUazOMDxyUOWgSXR+zsT22sXAGJpFSQxNGZpScR6e7MoDBqR61eCE8IqI\nrv+UUxDgJnI9DhBvQxEXEitK5AvlTifQxYWa2Hv4QQpdrGCeZy/eQAYK5a5z\nNSwA4K25gOlrIjhbknAEKmoofqRaOa37J45wlaXP0m6MJENycQ90/alBbk1i\neSD4j36zR6iap1Ns7TmaXFg03Be1jD2rUvbWNelqy6KAgXIFilNVZ5RHyNLc\nR7gB+vVI9MqHpVs3J7kypl/He5nVx26rbSE1OVlcKA+FElz4Hz/ZnVl+Fr3X\ntBncLddfnrBNzqL8nGOxZ/30hP5m2yxt0ISdC2laVI5X8ACuu6H0kWWpPRjS\nOjIktrQ+lJb2X3dIC/WHTuI+DavMSjwmkPt8rKZ7eGxJC5gre+clz4oA4KEE\n5NDzTlbvS+dLi9obxDLLZoz0W/n7M20Qq+TChkMrVS8sv0QVPse66vP61qhM\nkp/G/Pp0bEELgdAHnV2g2+m3l/HP7RqO2+Xspqu+48bsD9Cl+r2YXZHeYUvX\n3UTjeeKzPQUWiAzr3x1IZoB44Sj2EDkUNnAh1Bxpva5sh7uEnPZCTg8zfCC0\n4bTy\r\n=aUFA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDc0ZdCskgxj7pKk6ma0wz+SvHaZotD+QdrPKyOvCzdEAiApt0XtWFmbolar3RUqT2v3ZuIedTXCXtt2rWqYtGUO7w=="}]},"maintainers":[{"name":"kslimani","email":"karim@playmedia.fr"}],"_npmUser":{"name":"kslimani","email":"karim@playmedia.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clappr-ga-events-plugin_1.1.0_1572446838966_0.5256908912240508"},"_hasShrinkwrap":false},"2.0.0":{"name":"clappr-ga-events-plugin","version":"2.0.0","description":"Google Analytics Events plugin for Clappr player.","main":"dist/clappr-ga-events-plugin.js","scripts":{"build":"webpack --progress --mode production","dist":"webpack --progress --mode production","release":"npm run build && npm run dist","start":"webpack-dev-server --mode development"},"author":{"name":"Karim Slimani","email":"karim@playmedia.fr"},"license":"MIT","keywords":["clappr","google","analytics","events"],"repository":{"type":"git","url":"git+https://github.com/playmedia/clappr-ga-events-plugin.git"},"devDependencies":{"@babel/core":"^7.6","@babel/preset-env":"^7.6","babel-loader":"^8.0","babel-plugin-add-module-exports":"^1.0","core-js":"^3.3","uglifyjs-webpack-plugin":"^2.2","webpack":"^4.0","webpack-build-notifier":"^1.1","webpack-cli":"^3.3","webpack-dev-server":"^3.8"},"gitHead":"94ee1af26e7cd8ea5ce5957076d1644aee4f9dc5","bugs":{"url":"https://github.com/playmedia/clappr-ga-events-plugin/issues"},"homepage":"https://github.com/playmedia/clappr-ga-events-plugin#readme","_id":"clappr-ga-events-plugin@2.0.0","_nodeVersion":"8.16.0","_npmVersion":"6.11.2","dist":{"integrity":"sha512-DQh0wyK/hV8EdqPetvvEZ7+k+IiwF85FnDlhFsBxfIBeNGkd/x2GAvcWhCDCJIetvcg7yzr2ROQIzzTfR2aY+Q==","shasum":"fbc16eecf6a1cc82a3ebe8052650d15587fabae2","tarball":"https://registry.npmjs.org/clappr-ga-events-plugin/-/clappr-ga-events-plugin-2.0.0.tgz","fileCount":9,"unpackedSize":197393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxWDTCRA9TVsSAnZWagAAeEYP/04Jmc9qRGpsxr5BPuyu\nuNFd/HXTt3fHD6tVL9Gda2Spt5UZDA97Kw0YLrLxiitOSCzDyl/+Frz9dDjZ\nmt4i010jEX66jdQqNlMSyWj+GZdhsT7nF5muMFYu9cdoMN2Y46VmqVCSuDpP\nrLZvPIEhAfCLNt6splWL/eQ9cPNKbl9Q1TyuquH/QjwZnTMo3kNT/PX/kbAd\npA6lmAAAkrrjjgZWwy+zM9kxsLcYuotF4JZI5QtQHNbOXilAjrcM+YfGYwct\njvU9AEz9AV/Xlp4DLIbHM85arR/V7cpaSSJYWgF0Wn63M+IIEFkuLL5/L3ne\nAcmEj9anwuj0Mw/qEZ2Y23Pt/z8OOVNMCE3/qBW2JF6GanztMlWhOrTNKit+\n86plmm2vcwb2bY14vg2zQmT9nc0Rk0qSLEEkKR4dly9uLx1/fCx9nQobvqwD\nvJ9QtsBZROyJxLsSmuNYHzi56NtxKFceV63V35wK9NSmMFrI3BRfOJ75/rif\nAYQ6Lq8r/Sm0bRlk5cnQKIYCl84E5k93JHrRclO4zfDN3vZDTQQGVR4pJk0U\nTpVYSQKTkaXlXNlZkhP7ZYCWKOOLEAfNye8zRYizLLRUFxz3S2C3QIvBTIep\n0FASZVzyd02U5TbeylIxoVFSd08ObNtRjk8jG4qKuF+43+FoWqnG+uBFna5w\nmmCl\r\n=TzeU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE/HU5Pfuj25ldqFED5ftIlzHwARpY8RovCXUrsDNBmIAiEA7h209Bf5GwCTbKtGgcDFjUG29B2eWi4Qd3UTz+o87hs="}]},"maintainers":[{"name":"kslimani","email":"karim@playmedia.fr"}],"_npmUser":{"name":"kslimani","email":"karim@playmedia.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clappr-ga-events-plugin_2.0.0_1573216466987_0.1697988021816137"},"_hasShrinkwrap":false},"2.1.0":{"name":"clappr-ga-events-plugin","version":"2.1.0","description":"Google Analytics Events plugin for Clappr player.","main":"dist/clappr-ga-events-plugin.js","scripts":{"build":"webpack --progress --mode production","dist":"webpack --progress --mode production","release":"npm run build && npm run dist","start":"webpack-dev-server --mode development"},"author":{"name":"Karim Slimani","email":"karim@playmedia.fr"},"license":"MIT","keywords":["clappr","google","analytics","events"],"repository":{"type":"git","url":"git+https://github.com/playmedia/clappr-ga-events-plugin.git"},"devDependencies":{"@babel/core":"^7.6","@babel/preset-env":"^7.6","babel-loader":"^8.0","babel-plugin-add-module-exports":"^1.0","core-js":"^3.3","uglifyjs-webpack-plugin":"^2.2","webpack":"^4.0","webpack-build-notifier":"^1.1","webpack-cli":"^3.3","webpack-dev-server":"^3.8"},"gitHead":"ec99c4e669e0fbf690432173b6752a3711d29907","bugs":{"url":"https://github.com/playmedia/clappr-ga-events-plugin/issues"},"homepage":"https://github.com/playmedia/clappr-ga-events-plugin#readme","_id":"clappr-ga-events-plugin@2.1.0","_nodeVersion":"8.16.0","_npmVersion":"6.11.2","dist":{"integrity":"sha512-ic6duERw+hmJI3xq2eUOdkfWrsjHoCji3GjtF1K7g20SRTkKjKvOlpkUWQH5ul/3m9oK7cX9Q5x970F5idg8QA==","shasum":"be844ab12eb3e3c736559582951e71079a69f42f","tarball":"https://registry.npmjs.org/clappr-ga-events-plugin/-/clappr-ga-events-plugin-2.1.0.tgz","fileCount":9,"unpackedSize":197541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdypW+CRA9TVsSAnZWagAAc1YQAICmGyaeR7S+PlWV287O\nkRXkJvoB5Gk3SKbbsQ1j2yf61ptdQUUECwCC4hFrwEy9bkLiG03jdnJyhfaW\nssRBbUKkUSmZQc5aE+Cr9z2IKuQovUFrZ6R09zwFr8MGGgxZdgOcsg/PRZek\npCzjXB3E130hkTCIyQcPz3xOi1izQzeIfPwvpqMJw1OmgRRuBIyq9PD2GrG9\n/2AEoY+/YWQSIY16MEbvmQe3d3BjE9QEYNPN/FwIfSuhzf3kiXcvj99qf1I3\nGdAJpJGCiriqIgOwErErPdNFaTeBnuObRqB/xEoKJPMafwVtkL9ZEKwUP2vo\nzLZ/p3adVADpwHghZ/Pu+IIGoqwj1Px3ejJlEX6mtNOpHhIkhGuQ0JHOVVjo\nlNyl8J7XLNaJRo5Dk+dr+v+8TjtyKP3/xb2O/Xv5c4J9CXnaVK894m0hNbi+\n1NvLab343Xr41zX479RqSMe84EcBb+AC5572SDZ3rQtgJy62McfqVW9znxu5\nVuGily+ZBzSZk57aMDUINM2CqvJTiWDPDUMpJc0dY3+VcBGFD0kJeM3i/rda\nrfUDpvMVAgEpO/bcYA+j2TrmyarxJK6p2vwW334iRYUOC8iEHOj0+zqGlHsI\nY2gXSsTQsGdKv+4ePuBLYN9IUaGQfQ/elPvhuCTwSc1ZXzU9I3lD8x7fDKlR\nwapk\r\n=LYOe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGORysgeINrGdbDvF8di9a1nkl7EdUfSijuCIPADJlRQIgRxJkarrkAOInKLdowO/u4YUo+5+la01ca9JiQOUNlfE="}]},"maintainers":[{"name":"kslimani","email":"karim@playmedia.fr"}],"_npmUser":{"name":"kslimani","email":"karim@playmedia.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clappr-ga-events-plugin_2.1.0_1573557693535_0.8053081700490223"},"_hasShrinkwrap":false},"2.1.1":{"name":"clappr-ga-events-plugin","version":"2.1.1","description":"Google Analytics Events plugin for Clappr player.","main":"dist/clappr-ga-events-plugin.js","scripts":{"build":"webpack --progress --mode production","dist":"webpack --progress --mode production","release":"npm run build && npm run dist","start":"webpack-dev-server --mode development"},"author":{"name":"Karim Slimani","email":"karim@playmedia.fr"},"license":"MIT","keywords":["clappr","google","analytics","events"],"repository":{"type":"git","url":"git+https://github.com/playmedia/clappr-ga-events-plugin.git"},"devDependencies":{"@babel/core":"^7.6","@babel/preset-env":"^7.6","babel-loader":"^8.0","babel-plugin-add-module-exports":"^1.0","core-js":"^3.3","uglifyjs-webpack-plugin":"^2.2","webpack":"^4.0","webpack-build-notifier":"^1.1","webpack-cli":"^3.3","webpack-dev-server":"^3.8"},"gitHead":"53bddaa911c7ca4eaa4409567c376f0f9c596361","bugs":{"url":"https://github.com/playmedia/clappr-ga-events-plugin/issues"},"homepage":"https://github.com/playmedia/clappr-ga-events-plugin#readme","_id":"clappr-ga-events-plugin@2.1.1","_nodeVersion":"8.16.0","_npmVersion":"6.11.2","dist":{"integrity":"sha512-CmTb6AefoMcnWO5D5Km7gcelEBh3M9cZIRwEPXPYGA+X8Bt20qAPkEH4NRdqn3lbbXmH3X+iiK35eaMbnm/Wbg==","shasum":"bf65fa58a75e9a761b18f311c2c0dbf05e4fbcb8","tarball":"https://registry.npmjs.org/clappr-ga-events-plugin/-/clappr-ga-events-plugin-2.1.1.tgz","fileCount":9,"unpackedSize":197643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4US4CRA9TVsSAnZWagAAmYcP/3jDVNWiyobbZShPJc+0\n/TfL2sCTGKyjjyrdQlvHJ1NbY+CsZ9NMB4oeKadStg0W8JdENyvEI3/dEMLi\n7DB9E7Eaw+oIUeR8mVKkFOUo2h2W+xbqENJs5/LbmPzAhY04Jh4K5xb9oFOE\nJqrmaohxUsDVHkPIy9/Lgv2/q25gukZzElDn6DeCxRB4pay25v+hOsfIDqrK\nfGZMpwwePhDeZGMiJRv4CJnykv8v+t8UnW7fKnudmRl4coACs5G6qXK31KoM\nF3k3Ptuh302wJDWImhVBQp1udYrJx4H8LVQsCOA4AbPgxy7/XHGwBrS6vmsg\nVWk404VDlxiy2Y4lmT4Z/ReCIV2hc7t6SvbNPjfkwkDZRjZNJCxbFv+UWhKW\nCpz3eSCAeQPd6+rEaxNnylOdsJPxtU+ACPj0TGOFxbGF3uanTghxvy08BwH5\n2xdu04/tJDkgzF1FH8MyZinSsvmVwyJEhJnZnd9mjKNukSHutdVOGyI9ijbm\n92zMD5YZ0vb0MmcrSzGPgdUk/ucNPSe77RDSiItkcxM/uVn0EnUMavGDejkW\nofE4U13ANUbkKMDKcJy0RWzLNgfLPV3w2fh3UVmFthBrvHyXVxQhf5shcf5L\nF3JJXbThzpG/heML/0f217Z4680uWRWkfXznJ9/i7mslJLuAgsT6+0L5dHxY\n6igj\r\n=LY4r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHQP5ABdAtY9zlop38AcgHc1HuKsNGmHWVaKS+TWhnLWAiEA0hezrjdn7laqmpzlC28lD56the2UrHuoqwy+hSyYFz4="}]},"maintainers":[{"name":"kslimani","email":"karim@playmedia.fr"}],"_npmUser":{"name":"kslimani","email":"karim@playmedia.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clappr-ga-events-plugin_2.1.1_1575044280176_0.9979737169060103"},"_hasShrinkwrap":false},"0.2.0":{"name":"clappr-ga-events-plugin","version":"0.2.0","description":"Google Analytics Events plugin for Clappr player.","main":"dist/clappr-ga-events-plugin.js","scripts":{"build":"webpack --progress --mode production","dist":"webpack --progress --mode production","release":"npm run build && npm run dist","start":"webpack-dev-server --mode development"},"author":{"name":"Karim Slimani","email":"karim@playmedia.fr"},"license":"MIT","keywords":["clappr","google","analytics","events"],"repository":{"type":"git","url":"git+https://github.com/playmedia/clappr-ga-events-plugin.git"},"devDependencies":{"@babel/core":"^7.6","@babel/preset-env":"^7.6","babel-loader":"^8.0","babel-plugin-add-module-exports":"^1.0","core-js":"^3.3","uglifyjs-webpack-plugin":"^2.2","webpack":"^4.0","webpack-build-notifier":"^1.1","webpack-cli":"^3.3","webpack-dev-server":"^3.8"},"gitHead":"d0cd661c67fc4761e298f52a223f3d138b3bb413","bugs":{"url":"https://github.com/playmedia/clappr-ga-events-plugin/issues"},"homepage":"https://github.com/playmedia/clappr-ga-events-plugin#readme","_id":"clappr-ga-events-plugin@0.2.0","_nodeVersion":"8.16.0","_npmVersion":"6.11.2","dist":{"integrity":"sha512-+8rivWYf1+AxsYRmwYOL+fUiqYnHNVhXBRJikY6pCjUJO1frIbFAkSLbhSU/KFjakMkvGd+g50C+NDPrCcSHEQ==","shasum":"3cebea865ea840cd2c4971b0b8047c4c9be75577","tarball":"https://registry.npmjs.org/clappr-ga-events-plugin/-/clappr-ga-events-plugin-0.2.0.tgz","fileCount":9,"unpackedSize":198115,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5PLBCRA9TVsSAnZWagAAWGsP/jrQ2diiKn+CPNwGmDTO\n2v81Kj2yI4B72PfEVCQq2/O/cWclw7L8l8MSFyyuNLAq5mty/cH6qPsRPmPv\n2PTLC3Pv1f8O3xSNzHNeOpsJs5gQrGss+uqNI/m96iMuMp3AaGBCvFyiUdiv\n63DYpM0BjhnuijWF1AVxTg6aPwCxWw5Hl6i9mcJOMzN4kyAljIw1Ze1rpnBD\nu37p4AIU9zXuQLXyfVe60GnkBa+DhRHJT9vvSot0vyGdWnT/ZvJO+UYCYNjR\nUdAKtyhqlU0Cje8caW70fosntgHh35VYCOuCspxpay6maObQtGAMyuzF83Tm\nudeCtFPd6VKFrrGENC5KTjdyQveiGy4z6Xyvpgbi3FIuY7hiV3ANHuQb/Ejq\nRnLVubTIoZX51jbo6/QOZdJQjGoJI1Ej+GItBa+ELZyXLmL0mmpnlx5FhD1X\nRdWx1t3azlhdMNmbCVtAsx21r/2a0p3bi7eZzC4YP9HFqVyuIsTKOht68Usp\n8jwll+GLWpJ1UFxPp/fKd0iFYVvTrU1CDta0iDsvsLc9D1Gf7AxCjPUNa04c\nFEsH90uKoWSwnZYdBmfrv7HjWZt/Z1sp64zJq0Dkt49BqaSyymLq0R/vVvcq\npw5JE/m3MUUuRyu3fG63r7CUNfPCJIGJxUZkjGLBh4PAUCJq1ZKAyAWsFkjv\nbxEH\r\n=lj1g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuk0H5kVPuxOIL8bsqh36lGTz8BdBJzpc2Oe7Xm0PguAIhANFFQ7KlcXN1cXaUhGcQB19sP0iLFde+dnzcfqdKq4Kc"}]},"maintainers":[{"name":"kslimani","email":"karim@playmedia.fr"}],"_npmUser":{"name":"kslimani","email":"karim@playmedia.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clappr-ga-events-plugin_0.2.0_1575285440958_0.766426986211576"},"_hasShrinkwrap":false},"2.1.2":{"name":"clappr-ga-events-plugin","version":"2.1.2","description":"Google Analytics Events plugin for Clappr player.","main":"dist/clappr-ga-events-plugin.js","scripts":{"build":"webpack --progress --mode production","dist":"webpack --progress --mode production","release":"npm run build && npm run dist","start":"webpack-dev-server --mode development"},"author":{"name":"Karim Slimani","email":"karim@playmedia.fr"},"license":"MIT","keywords":["clappr","google","analytics","events"],"repository":{"type":"git","url":"git+https://github.com/playmedia/clappr-ga-events-plugin.git"},"devDependencies":{"@babel/core":"^7.6","@babel/preset-env":"^7.6","babel-loader":"^8.0","babel-plugin-add-module-exports":"^1.0","core-js":"^3.3","uglifyjs-webpack-plugin":"^2.2","webpack":"^4.0","webpack-build-notifier":"^1.1","webpack-cli":"^3.3","webpack-dev-server":"^3.8"},"gitHead":"2c016ceb8f03fb9316dcfe9e3b2f1319bad11a15","bugs":{"url":"https://github.com/playmedia/clappr-ga-events-plugin/issues"},"homepage":"https://github.com/playmedia/clappr-ga-events-plugin#readme","_id":"clappr-ga-events-plugin@2.1.2","_nodeVersion":"8.16.0","_npmVersion":"6.11.2","dist":{"integrity":"sha512-FDD9rnEZ4K+ZjGGweXTQB9tqLewVTMvhPcKnBFE4N0BAziMmcLwLSCMAVh+Adw3zXctSpEPLHYnd4M6y6C+EGg==","shasum":"f70c92f4915d06aedf4736aaef9928b2577754c1","tarball":"https://registry.npmjs.org/clappr-ga-events-plugin/-/clappr-ga-events-plugin-2.1.2.tgz","fileCount":9,"unpackedSize":199262,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5PedCRA9TVsSAnZWagAAnrsP/jUdkAtz6niPLKfbzA70\njchUlRLLv/DCtt5Zyruqyoiv17Ja4EAeXRtWdm4KE/AN5uqPSfIfSAr76xYu\nUBVkc9EAWGOdYu1r3yW5P2cJ20yYguF8OykiPpplF/RaalXzviGGi9SM/+Vo\nZl6Flvla5VfwQ937sJk713zMMvm1TyZ6Eqv4kdrcyregcHDpEIA6X6RKI92V\nGBoSKWup7Cm3vTw3aC8F62XKU4nmKDI7AMsGvtLeUwklYV6CwZbw/yOWq+4Q\nW6H5j+rJS452FuBrFGBeznQMOPJMeZJ+FyNexXUolGsJ8/5ifR+JX/iJiB7R\nJSiVVYLQqt+z3rrM+LRJojMKgJsibEwgzTvKnTPsEnd9FbTFw1q6IQ+FtH/O\n6cUjJmkq6kqeg2fwmeBTuUk2jsL/VatmsGBH4MlCU3ol8SJVtwOkF9NPE5T8\njgBpae3PMWp9Uc7kFz4n+ChTWE+x0Qv5hCwgMJySnoh4zTaQP/u3l8XFmOlN\nUp++frk9Ve+F4KJdswiGvv6hepaDMU63UatjpldNANcZUu4TlEMN+/1zBvrO\nZ0gkz2UV+7rlbiKlCbkp2QW8iuZ4A8BtZSAnmlYuiK6MQSKcLs98DllAR8oj\nkPqnDhG3M7KA+v8jKyFQ4UTQWKL1XpCdMv/jsiKS9nV2gWKUdDxHR9Y3Hu/p\narsk\r\n=Zsuj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCp/lFVk2x1wTIP2L7YOtOgw9Hp7G/GXm08EwzS6OQB1QIgH+/kKYqetEBU+2gr2wffNRRITzpSpZVtT+ZCgykOnIk="}]},"maintainers":[{"name":"kslimani","email":"karim@playmedia.fr"}],"_npmUser":{"name":"kslimani","email":"karim@playmedia.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clappr-ga-events-plugin_2.1.2_1575286685246_0.16098453659083733"},"_hasShrinkwrap":false},"2.2.0":{"name":"clappr-ga-events-plugin","version":"2.2.0","description":"Google Analytics Events plugin for Clappr player.","main":"dist/clappr-ga-events-plugin.js","scripts":{"build":"webpack --progress --mode production","dist":"webpack --progress --mode production","release":"npm run build && npm run dist","start":"webpack-dev-server --mode development"},"author":{"name":"Karim Slimani","email":"karim@playmedia.fr"},"license":"MIT","keywords":["clappr","google","analytics","events"],"repository":{"type":"git","url":"git+https://github.com/playmedia/clappr-ga-events-plugin.git"},"devDependencies":{"@babel/core":"^7.6","@babel/preset-env":"^7.6","babel-loader":"^8.0","babel-plugin-add-module-exports":"^1.0","core-js":"^3.3","terser-webpack-plugin":"^2.3","webpack":"^4.0","webpack-build-notifier":"^1.1","webpack-cli":"^3.3","webpack-dev-server":"^3.8"},"gitHead":"f1836923412f4f6a72ced52fef5a2ffebdb03373","bugs":{"url":"https://github.com/playmedia/clappr-ga-events-plugin/issues"},"homepage":"https://github.com/playmedia/clappr-ga-events-plugin#readme","_id":"clappr-ga-events-plugin@2.2.0","_nodeVersion":"12.15.0","_npmVersion":"6.14.2","dist":{"integrity":"sha512-hG9uJUzfSrcBbHmvuy9yU9LnsD4T7oMnOdYUUln1s56SIRN9F6nns2RkQeWfnAyg7RquXC3lMfMe47JEbQpW4A==","shasum":"766063e764f1c4af41270a64b56c8de29e7738df","tarball":"https://registry.npmjs.org/clappr-ga-events-plugin/-/clappr-ga-events-plugin-2.2.0.tgz","fileCount":9,"unpackedSize":202806,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeb4yfCRA9TVsSAnZWagAAtSAP/09a5aD8/ntQHL4l9haW\n5rBEbVBFK4rtcshE6Qa9xORAXJiotB+en2c9Nrrf2uhKtc2tmvsRAdGY8uDE\nbEZ8aSR/6ThIfAzsUkhnG6/PlyZqkDJpSX3j2K9kcEHwPi1Uu17oZVoHEQOZ\nbtS+OL97bpSo45MXO5AZEdR85rddWPxr5rb8R5GDnYjHA3LI92uK+nAw2RHl\nmuBSuKXiUpvgwQVayPgf/FJ1TKDoOgS0sDr8ha0Pf/uT7pUwTQlGcVsncWJi\nEGsYoD2KZPOMy8IEEv0X8ZnwBiOmekQG2wGvSeJIm9Q3xtuSJ3MCAEyYneUF\nQ3uksmB5hmNgEaIxcbGifr8mT/75mCIEkhbu+2VrTF150QHn71/WE8/bL3n2\nQVUuPGuRhr+IBwEIQJ/JRbTnny+qKthiNvWLqe1DiroQRkWoG/rBYun94kOE\nIHOff6NkxlStpkWLDc/uv+XmjkGmAs/JMsw6gXSeZoCQS2CdynLQNzyMsAOx\nnwrK2JNZSp3UoWY9CRiGd7Z+M1+SKK8y8EkuWDdbR5hGSM7oO0jcjv7jtPVc\nO3zcLEpiB0bTRPsJBLP9jVLn4RUtXqrTourp+KYN3FuMV505Smf7JVhYqsM+\no/jWuFYEp5XxzgjngdqXxxj4S5mXAasFqw2FghlO6oahvdHpeu/aqA7JsTGA\nSw3a\r\n=JnxZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwAY6n1PZj9ivmaXMSqEgUHW5Gb9iFtjbdTKKPLugfMgIhAI6M19AVSzrbTStQaXhh04fbmjk6shTGh6ntB+yk/u3q"}]},"maintainers":[{"name":"kslimani","email":"karim@playmedia.fr"}],"_npmUser":{"name":"kslimani","email":"karim@playmedia.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clappr-ga-events-plugin_2.2.0_1584368798921_0.5881856999260093"},"_hasShrinkwrap":false}},"readme":"# Clappr Google Analytics Events Tracking Plugin\n\n[Google Analytics Event Tracking](https://developers.google.com/analytics/devguides/collection/analyticsjs/events) plugin for [Clappr](https://github.com/clappr/clappr) video player.\n\n# Usage\n\nAdd both Clappr and the plugin scripts to your HTML:\n\n```html\n<head>\n  <script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/npm/clappr@latest/dist/clappr.min.js\"></script>\n  <script type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/npm/clappr-ga-events-plugin@latest/dist/clappr-ga-events-plugin.min.js\"></script>\n</head>\n```\n\nThen just add `ClapprGaEventsPlugin` into the list of core plugins of your player instance, and the options for the plugin go in the `gaEventsPlugin` property as shown below.\n\n```javascript\nvar player = new Clappr.Player({\n  source: \"http://your.video/here.mp4\",\n  plugins: {\n    core: [ClapprGaEventsPlugin],\n  },\n  gaEventsPlugin: {\n    trackingId: 'UA-XXXX-Y',\n  }\n});\n```\n\n## trackingId\n\n`trackingId` __required__ property is the Google Analytics [tracking ID / web property ID](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#trackingId). The format is UA-XXXX-Y.\n\n## createFieldsObject\n\n`createFieldsObject` __optional__ property is the fields object set in the [create method](https://developers.google.com/analytics/devguides/collection/analyticsjs/command-queue-reference#create). Default value is `undefined` which create a default tracker with automatic cookie domain configuration. For more details, read the [Create Only Fields](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#create) reference documentation.\n\n```javascript\n  /* [...] */\n  gaEventsPlugin: {\n    trackingId: 'UA-XXXX-Y',\n    createFieldsObject: {\n      name: 'MyTrackerName',\n      cookieDomain: 'example.com',\n    },\n  }\n  /* [...] */\n```\n\n## eventCategory\n\n`eventCategory` __optional__ property is the [eventCategory](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#eventCategory) set in the [send method](https://developers.google.com/analytics/devguides/collection/analyticsjs/command-queue-reference#send) (\"event\" hit type) used for [event tracking](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#events). Default value is `Video`.\n\n```javascript\n  /* [...] */\n  gaEventsPlugin: {\n    trackingId: 'UA-XXXX-Y',\n    eventCategory: 'MyCustomCategory',\n  }\n  /* [...] */\n```\n\n## eventLabel\n\n`eventLabel` __optional__ property is the [eventLabel](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#eventLabel) set in the [send method](https://developers.google.com/analytics/devguides/collection/analyticsjs/command-queue-reference#send) (\"event\" hit type) used for [event tracking](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#events). Default value is the container playback resolved source value.\n\nit's __strongly recommended__ to set this option. Using video source as event label may result into truncated value. Event label maximum length is 500 bytes.\n\n```javascript\n  /* [...] */\n  gaEventsPlugin: {\n    trackingId: 'UA-XXXX-Y',\n    eventLabel: 'MyVideoTitle',\n  }\n  /* [...] */\n```\n\n## eventValueAuto\n\n`eventValueAuto` __optional__ property is a boolean which indicate if [eventValue](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#eventValue) is automatically set for some events. Default value is `false`. _(default behaviour is to left eventValue undefined)_\n\nIf this option is enabled, the eventValue is set to :\n\n* player position value in seconds for `play`, `pause`, `stop` and `ended` events\n* player \"seek to\" position value in seconds for `seek` event _(may be an unexpected value for LIVE playback with DVR)_\n* player volume percent value for `volume` event\n* 0 or 1 for `fullscreen`, `highdefinitionupdate`, and `playbackdvrstatechanged` events\n\nIf playback type is __LIVE__, the eventValue is set to elapsed duration since __play__ event in seconds. _(It use a Timer instead of referring to player position)_\n\n```javascript\n  /* [...] */\n  gaEventsPlugin: {\n    trackingId: 'UA-XXXX-Y',\n    eventValueAuto: true,\n  }\n  /* [...] */\n```\n\n__Note:__ The event value is truncated using [parseInt()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt) function to convert to integer.\n\n## eventValueAsLive\n\n`eventValueAsLive` __optional__ property is a boolean which indicate if \"on demand\" playback is handled as __LIVE__ playback. Default value is `false`.\n\nIf this option and `eventValueAuto` are enabled, the eventValue is always set to elapsed duration since __play__ event in seconds.\n\nFor consistency, `play` event value is set to 0 _(same as LIVE playback)_ but `ended` event value is still set to position. _(ie: duration)_\n\nThis option may be usefull, for example, to track the playing time of \"on demand\" playback. _(stop & pause event values)_\n\nThis option does __NOT__ affect `progressSeconds`, `progressPercent` and `progressEachSeconds` behaviours.\n\n```javascript\n  /* [...] */\n  gaEventsPlugin: {\n    trackingId: 'UA-XXXX-Y',\n    eventValueAuto: true,\n    eventValueAsLive: true,\n  }\n  /* [...] */\n```\n\n__Note:__ This option is ignored if playback type is __LIVE__. _(eventValueAuto option default behaviour)_\n\n## eventToTrack\n\n`eventToTrack` __optional__ property is the player container event list to listen and to send to Google Analytics using [eventAction](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#eventAction) tracking field. The default value is `['play', 'seek', 'pause', 'stop', 'ended', 'volume']`.\n\n__Note:__ the list of available events is `['ready', 'buffering', 'bufferfull', 'loadedmetadata', 'play', 'seek', 'pause', 'stop', 'ended', 'volume', 'fullscreen', 'error', 'playbackstate', 'highdefinitionupdate', 'playbackdvrstatechanged']`. _This is not the complete Clappr container event list. If you think one or more event is needed, just open an issue or a pull request._\n\nKeep in mind that Analytics limit is 200,000 hits per __user__ per day and 500 hits per __session__. For more details, read [Google Analytics Collection Limits and Quotas](https://developers.google.com/analytics/devguides/collection/analyticsjs/limits-quotas).\n\n```javascript\n  /* [...] */\n  gaEventsPlugin: {\n    trackingId: 'UA-XXXX-Y',\n    eventToTrack: ['play', 'pause', 'stop'],\n  }\n  /* [...] */\n```\n\n## eventMapping\n\n`eventMapping` __optional__ property is a plain Object used to set the [eventAction](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#eventAction) value for each container event. Default values are event name list listed above. The value can also be a function _(argument value depends on event)_. Object can be partially filled _(merged with default values)_.\n\n```javascript\n  /* [...] */\n  gaEventsPlugin: {\n    trackingId: 'UA-XXXX-Y',\n    eventMapping: {\n      ready: 'MyReadyEventLabel', // default is 'ready'\n      buffering: 'MyBufferingEventLabel', // default is 'buffering'\n      bufferfull: 'MyBufferfullEventLabel', // default is 'bufferfull'\n      loadedmetadata: 'MyLoadedmetadataEventLabel', // default is 'loadedmetadata'\n      play: 'MyPlayEventLabel', // default is 'play'\n      seek: 'MySeekEventLabel', // default is 'seek'\n      pause: function(p) { return 'pause_at_'+p+'_seconds'; }, // default is 'pause'\n      stop: 'MyStopEventLabel', // default is 'stop'\n      ended: 'MyEndedEventLabel', // default is 'ended'\n      volume: 'MyVolumeEventLabel', // default is 'volume'\n      fullscreen: 'MyFullscreenEventLabel', // default is 'fullscreen'\n      error: 'MyErrorEventLabel', // default is 'error'\n      playbackstate: 'MyPlaybackstateEventLabel', // default is 'playbackstate'\n      highdefinitionupdate: 'MyHighdefinitionupdateEventLabel', // default is 'highdefinitionupdate'\n      playbackdvrstatechanged: 'MyPlaybackdvrstatechangedEventLabel', // default is 'playbackdvrstatechanged'\n    },\n  }\n  /* [...] */\n```\n\n## sendPlayOnce\n\n`sendPlayOnce` __optional__ property is a boolean which indicate if \"play\" events triggered as the result of \"buffer full\" during playback are __not__ send to Google Analytics. Default value is `false`. _(default behaviour is to send all \"play\" events)_\n\n\"play\" event is trigger most of the cases after a \"buffer full\" event as the result either autoplay, user click play button or user clicked on seek bar.\n\nBut \"play\" event is also trigger after buffer full during playback (slow connection, etc...) resulting in sending additional \"play\" events to Google Analytics.\n\nIf this option is set to `true`, the \"play\" event is send only once after video is started, or after a seek. If video pause or stop, then play, the \"play\" event is send again.\n\n```javascript\n  /* [...] */\n  gaEventsPlugin: {\n    trackingId: 'UA-XXXX-Y',\n    sendPlayOnce: true,\n  }\n  /* [...] */\n```\n\n## stopOnLeave\n\n`stopOnLeave` __optional__ property is a boolean which indicate if player is paused or stopped when user decides to leave the page. Default value is `false`.\n\nIf this option is set to `true`, \"beacon\" [transport](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#transport) will be used (if available) to __attempt__ to send the event.\n\n__Note:__ this option may not be supported by all browsers, and therefore is not guaranteed to work.\n\n## sendExceptions\n\n`sendExceptions` __optional__ property is a boolean which indicate if container `error` events are send to Google Analytics using [Exception](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#exception) (\"exception\" hit type). Default value is `false`. _(default behaviour, if \"error\" is tracked, is to use \"send\" hit type like other player events)_\n\nIf this option is set to `true`, the 'error' event is automatically added to events to track. (no need to specify 'error' in `eventToTrack` plugin option)\n\n```javascript\n  /* [...] */\n  gaEventsPlugin: {\n    trackingId: 'UA-XXXX-Y',\n    sendExceptions: true,\n  }\n  /* [...] */\n```\n\n## sendExceptionsMsg\n\n`sendExceptionsMsg` __optional__ property is a boolean which indicate if resolved error message is send as exception description. Default value is `false`. _(exception description value is \"error\")_\n\nThis option must be used with `sendExceptions`, otherwise is ignored.\n\n__Note:__ this option is disabled by default because error messages may contains sensitive informations.\n\n## progressPercent, progressPercentCategory & progressPercentAction\n\n__Note:__ These options are __ignored__ if player container playback type is __LIVE__. _(duration is unknown)_\n\n`progressPercent` __optional__ property is an Array of percentage values (must be integer), where each value is a video progress event to send to Google Analytics. Default value is `[]`.\n\n`progressPercentCategory` __optional__ property is the [eventCategory](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#eventCategory) set to send video progress event. Default value is `undefined`, which default to `eventCategory` plugin option value.\n\n`progressPercentAction` __optional__ property is a Function which return the [eventAction](https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#eventAction) set to send video progress event. Default value is `function(i) { return 'progress_' + i + 'p' }`, where `i` argument is the video progress percentage value.\n\n__Note:__ If user seek video past a progress event time range, then the \"leaped\" event is not send.\n\n```javascript\n  /* [...] */\n  gaEventsPlugin: {\n    trackingId: 'UA-XXXX-Y',\n    progressPercent: [25,50,75],\n    progressPercentCategory: 'Video percent', // default is 'Video'\n    progressPercentAction: function(i) { return i + '%' },\n  }\n  /* [...] */\n```\n\nEvent label value used for video progress events is the `eventLabel` plugin option value.\n\n## progressSeconds, progressSecondsCategory & progressSecondsAction\n\nThese __optional__ properties are exactly the same as \"progress percent\" above, but instead is progress duration in seconds. _(except for LIVE, read explanations below)_\n\n`progressSeconds` default value is `[]`.\n\n`progressSecondsCategory` default value is `undefined`, which default to `eventCategory` plugin option value.\n\n`progressSecondsAction` default value is `function(i) { return 'progress_' + i + 's' }`, where `i` argument is the video progress duration value.\n\nIf playback type is __LIVE__, then events are send according time elapsed since __play__ event. If video __pause__, __seek__ or __stop__, then events are send again after Nth seconds. _(It use a Timer instead of referring to player position)_\n\n__Note:__ If user seek video past a progress event time range, then the \"leaped\" event is not send. _(seek is available only if video has DVR feature enabled)_\n\n```javascript\n  /* [...] */\n  gaEventsPlugin: {\n    trackingId: 'UA-XXXX-Y',\n    progressSeconds: [10,20,30,40,50],\n    progressSecondsCategory: 'Video progress', // default is 'Video'\n    progressSecondsAction: function(i) { return i + ' seconds' },\n  }\n  /* [...] */\n```\n\n## progressEachSeconds, progressEachSecondsCategory & progressEachSecondsAction\n\nThese __optional__ properties are again exactly the same, but instead send progress event each __N__ seconds.\n\n`progressEachSeconds` must be a positive integer, is the delay in seconds between two events.\n\n`progressEachSecondsCategory` default value is `undefined`, which default to `eventCategory` plugin option value.\n\n`progressEachSecondsAction` default value is `function(i) { return 'progress_' + i + 's' }`, where `i` argument is the video progress duration value.\n\nIf playback type is __LIVE__, then events are send according time elapsed since __play__ event. If video __pause__, __seek__ or __stop__, then events are send again each Nth seconds. _(It use a Timer instead of referring to player position)_\n\n__Note:__ If user seek video past a progress event time range, then the \"leaped\" event is not send. _(seek is available only if video has DVR feature enabled)_\n\n```javascript\n  /* [...] */\n  gaEventsPlugin: {\n    trackingId: 'UA-XXXX-Y',\n    progressEachSeconds: 10,\n    progressEachSecondsCategory: 'Video progress', // default is 'Video'\n    progressEachSecondsAction: function(i) { return i + ' seconds' },\n  }\n  /* [...] */\n```\n\n# External Interface\n\nIf tracker name is provided using the `createFieldsObject` plugin option, then `gaEventsTracker()` method is added to Clappr player instance. This method return the Google Analytics [tracker instance](https://developers.google.com/analytics/devguides/collection/analyticsjs/tracker-object-reference) associated to player.\n\n```javascript\nvar player = new Clappr.Player({\n  source: \"http://your.video/here.mp4\",\n  plugins: {\n    core: [ClapprGaEventsPlugin],\n  },\n  gaEventsPlugin: {\n    trackingId: 'UA-XXXX-Y',\n    createFieldsObject: {\n      name: 'MyTrackerName'\n    },\n  }\n});\n\nvar tracker = player.gaEventsTracker();\n```\n\n# Development\n\nInstall dependencies :\n\n```shell\n  yarn\n```\n\nStart HTTP dev server (http://0.0.0.0:8080) :\n\n```shell\n  npm start\n```\n","maintainers":[{"name":"kslimani","email":"karim@playmedia.fr"}],"time":{"modified":"2022-06-13T06:05:16.555Z","created":"2016-09-12T13:28:34.048Z","0.1.0":"2016-09-12T13:28:34.048Z","0.1.1":"2016-09-12T16:39:07.451Z","0.1.2":"2016-09-19T17:10:58.813Z","0.1.3":"2016-10-05T16:53:46.858Z","1.0.0":"2019-10-29T13:09:16.246Z","1.1.0":"2019-10-30T14:47:19.118Z","2.0.0":"2019-11-08T12:34:27.140Z","2.1.0":"2019-11-12T11:21:33.748Z","2.1.1":"2019-11-29T16:18:00.285Z","0.2.0":"2019-12-02T11:17:21.119Z","2.1.2":"2019-12-02T11:38:05.387Z","2.2.0":"2020-03-16T14:26:39.047Z"},"homepage":"https://github.com/playmedia/clappr-ga-events-plugin#readme","repository":{"type":"git","url":"git+https://github.com/playmedia/clappr-ga-events-plugin.git"},"author":{"name":"Karim Slimani","email":"karim@playmedia.fr"},"bugs":{"url":"https://github.com/playmedia/clappr-ga-events-plugin/issues"},"license":"MIT","readmeFilename":"README.md","keywords":["clappr","google","analytics","events"]}