{"_id":"@blaaat/vue-facebook-pixel","_rev":"2-648f66f06aeef566d4699aff13da4c65","name":"@blaaat/vue-facebook-pixel","dist-tags":{"latest":"1.2.4"},"versions":{"1.2.2":{"name":"@blaaat/vue-facebook-pixel","version":"1.2.2","description":"A Facebook Pixel API wrapper","author":{"name":"sobolevn","email":"mail@sobolevn.me"},"private":false,"scripts":{"publish-please":"publish-please","ppublish":"npm run build && publish-please guard && npm run publish-please","build":"webpack --config build/webpack.conf.js","test:security":"nsp check","test":"npm run test:security && npm run lint","lint":"eslint --ext .js,.vue src test/unit/specs dev"},"peerDependencies":{"vue":"~2"},"devDependencies":{"babel-core":"^6.18.0","babel-eslint":"^7.0.0","babel-loader":"^6.2.7","babel-plugin-transform-runtime":"^6.15.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.18.0","babel-preset-stage-2":"^6.0.0","babel-register":"^6.0.0","babel-runtime":"5","eslint":"^3.7.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.5","eslint-loader":"^1.5.0","eslint-plugin-html":"^1.3.0","eslint-plugin-promise":"^3.3.2","eslint-plugin-standard":"^2.0.1","eventsource-polyfill":"^0.9.6","file-loader":"^0.9.0","function-bind":"^1.0.2","humane-js":"^3.2.2","nsp":"^2.6.2","opn":"^4.0.2","ora":"^0.3.0","publish-please":"^2.2.0","raw-loader":"^0.5.1","vue":"2.0.6","webpack":"^1.13.3"},"main":"dist/vue-facebook-pixel.js","repository":{"url":"git+https://github.com/threadhandler/vue-analytics-facebook-pixel.git","type":"git"},"keywords":["vue","plugin","analytics","facebook","facebook pixel","marketing","wemake.services"],"license":"MIT","dependencies":{},"bugs":{"url":"https://github.com/threadhandler/vue-analytics-facebook-pixel/issues"},"homepage":"https://github.com/threadhandler/vue-analytics-facebook-pixel#readme","gitHead":"52b094012007b4ddf35c09973dc0950dc7fc6ef9","_id":"@blaaat/vue-facebook-pixel@1.2.2","_nodeVersion":"14.19.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-ts0tl02HhIpQhRcISdEKimw9NKTHxxpJZUKOqZZXpzvPLxplkY6i9nwwqkdNOqlZ4Nxn6lRungasxrcxvOL89g==","shasum":"5faa66351776860f0703e351ed477ca915bb1546","tarball":"https://registry.npmjs.org/@blaaat/vue-facebook-pixel/-/vue-facebook-pixel-1.2.2.tgz","fileCount":4,"unpackedSize":7628,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLGSeSs0wddEVfDyjUsc2CMY1nJAVCDWvzXx/eb48khQIhAKxN+ifjHYOPbWIOB4nlKS0iW71YBhY1KoCwpEcRKV+8"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijLldACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqiMQ/+Ngm0ZNQ67Bqa1D3VBGaArS6bhS5BHm7vUEA7tQRTv483+IKX\r\nNAEJvxCpBeI0ZVGZKkZTURQ8inCvC5KLsaXx3R+xj7ONaqqD+a7GsizJpJJ3\r\ngG0X6+pe+zZhLUuxz4Ys3aovAw3K57P3rFO/l5s+tuDp3AwtEQoeri/lAvx7\r\nKnrSUXLMlHh88iuqL+Gg5iloeluwgIZIaLBgiaHcYY7OMaVFjVTDNJ+BvMrm\r\nwXmZQSK44Z4bLUYlNShGrvtvIEIwAZY4gmZjoP2dmMxU9hSRPTeuNb12MvlM\r\ndHXbEVZjyyNm3nNX0WKVEEyc8ptQ0d1jLVodXJh3Gl8/hnIIaHNsmdclluWf\r\nj4mOX+WOGzsnK1UqslVjTXzWZyNTMr1agYdfG9EWlWiaoA8aOtJFdpgvW3AW\r\nJDZQpMnUtKf0qcE+/rQqUSWQcDuS8A6e6n3ekcvvmKJIhyJU3J5wdv9LpeSM\r\naKsYrAVquVGOpCIgece/05piNq5+ZO8MjtNSrs3RcDxTURgLdawRbwVjbVI6\r\nsxpDEZUPyCr9CYg56HWme3R0NbtIQKEbV8k8JA/r31rur9eKUDuygYz2tUNm\r\niSNHgRXJEMnyYKCxTwyjsI+8Ddz/De8F2CUDb3tWOHBkjL5Ym48dwLyl/guD\r\nHbXBLZvlnYSUffQkW8V12ZjGI8zEJT+1wZA=\r\n=rfYO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"blaaat","email":"info@sanderback.us"},"directories":{},"maintainers":[{"name":"blaaat","email":"info@sanderback.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-facebook-pixel_1.2.2_1653389660907_0.3394943234308416"},"_hasShrinkwrap":false},"1.2.3":{"name":"@blaaat/vue-facebook-pixel","version":"1.2.3","description":"A Facebook Pixel API wrapper","author":{"name":"sobolevn","email":"mail@sobolevn.me"},"private":false,"scripts":{"publish-please":"publish-please","ppublish":"npm run build && publish-please guard && npm run publish-please","build":"webpack --config build/webpack.conf.js","test:security":"nsp check","test":"npm run test:security && npm run lint","lint":"eslint --ext .js,.vue src test/unit/specs dev"},"peerDependencies":{"vue":"~2"},"devDependencies":{"babel-core":"^6.18.0","babel-eslint":"^7.0.0","babel-loader":"^6.2.7","babel-plugin-transform-runtime":"^6.15.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.18.0","babel-preset-stage-2":"^6.0.0","babel-register":"^6.0.0","babel-runtime":"5","eslint":"^3.7.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.5","eslint-loader":"^1.5.0","eslint-plugin-html":"^1.3.0","eslint-plugin-promise":"^3.3.2","eslint-plugin-standard":"^2.0.1","eventsource-polyfill":"^0.9.6","file-loader":"^0.9.0","function-bind":"^1.0.2","humane-js":"^3.2.2","nsp":"^2.6.2","opn":"^4.0.2","ora":"^0.3.0","publish-please":"^2.2.0","raw-loader":"^0.5.1","vue":"2.0.6","webpack":"^1.13.3"},"main":"dist/vue-facebook-pixel.js","repository":{"url":"git+https://github.com/threadhandler/vue-analytics-facebook-pixel.git","type":"git"},"keywords":["vue","plugin","analytics","facebook","facebook pixel","marketing","wemake.services"],"license":"MIT","dependencies":{},"bugs":{"url":"https://github.com/threadhandler/vue-analytics-facebook-pixel/issues"},"homepage":"https://github.com/threadhandler/vue-analytics-facebook-pixel#readme","gitHead":"34aa03038d33b6d518099a9dd708a1ff4f400b7c","_id":"@blaaat/vue-facebook-pixel@1.2.3","_nodeVersion":"14.19.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-b8094vcNRIMlP2ZmN/CqGgTnsEbIuytAPmF7TtSou+QoHMfOVfEGSQdX+F0nEa/sMQZu60mVtY8lxnvgpiz4Hw==","shasum":"f2cff28b50339408435b9265e4c7fce13791914e","tarball":"https://registry.npmjs.org/@blaaat/vue-facebook-pixel/-/vue-facebook-pixel-1.2.3.tgz","fileCount":4,"unpackedSize":7637,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID9DAFJFoO5fZfnYQB2uwGzih0rYmpyyZha/3lAfzs4HAiB0wReH4jLahcn7sKhePVrMjwNeFurTQbFlCHPFs+orIg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijLnJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqkxw/+IGLUCNW1cSHd2X2lYsiRJKk8ZzhRgnSrZwjS0TwZEWCDzZ0c\r\nKQmWHB3zh4ys2FiQ5IOZ1pdHKFESzsTY3Zmx+LON/PjnRHjcJM6fJAjhxEno\r\nhzl4ED+raKpxgBUfuHRJm/a2I546DnlintqYdrzHFk+Q+mmOFk7tVZZDaTYK\r\nqzxGBf3aVXw7DcbB9pwLuWJaxsu5r23fifJl281sVNbnoiY9zazESisvgN6+\r\n8nl7zJQVFMnjOckLXauRzDZGMzfygUSM/45ruHT4kotiCyUlYY9Orsvg9E+A\r\nfimR3SzqnZwOV8W5YqWVYzA+dYuGtLu18R+ujamLWt54GmFP8xAQXAVydHRB\r\nhDlGaRChE1PcbOhhNukByzHOrAmO5si4kSU//nEynQON4cB0nxCHuvJrO2D0\r\nnzZSINHTIqOm/3CWWZmRGf1o8HX6kLYiUN2crztdRsiuCHWOWSdyXPqyzNt5\r\nyu28ZxxdxNf5qQNdfnGky1tgaPqYYn47KFa/NksuFpZnF56WeRnXUpl07dSH\r\n6/5GiLJL03r3CYWbMPHGwi27ZTy5RPz/zxnHQWpYwQvHo4aoH94CEooaAMI/\r\njxqA8ODcbMc80WrMxZyvqPAgPZFQkg/i8kZz78jtSxO3g91qAqAdAd1kwnCv\r\nzu6iqOV4It5C9MtHS1yIrlVXfXNcXedeHog=\r\n=4mDl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"blaaat","email":"info@sanderback.us"},"directories":{},"maintainers":[{"name":"blaaat","email":"info@sanderback.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-facebook-pixel_1.2.3_1653389768861_0.16329599865930255"},"_hasShrinkwrap":false},"1.2.4":{"name":"@blaaat/vue-facebook-pixel","version":"1.2.4","description":"A Facebook Pixel API wrapper","author":{"name":"sobolevn","email":"mail@sobolevn.me"},"private":false,"scripts":{"publish-please":"publish-please","ppublish":"npm run build && publish-please guard && npm run publish-please","build":"webpack --config build/webpack.conf.js","test:security":"nsp check","test":"npm run test:security && npm run lint","lint":"eslint --ext .js,.vue src test/unit/specs dev"},"peerDependencies":{"vue":"~2"},"devDependencies":{"babel-core":"^6.18.0","babel-eslint":"^7.0.0","babel-loader":"^6.2.7","babel-plugin-transform-runtime":"^6.15.0","babel-polyfill":"^6.16.0","babel-preset-es2015":"^6.18.0","babel-preset-stage-2":"^6.0.0","babel-register":"^6.0.0","babel-runtime":"5","eslint":"^3.7.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.5","eslint-loader":"^1.5.0","eslint-plugin-html":"^1.3.0","eslint-plugin-promise":"^3.3.2","eslint-plugin-standard":"^2.0.1","eventsource-polyfill":"^0.9.6","file-loader":"^0.9.0","function-bind":"^1.0.2","humane-js":"^3.2.2","nsp":"^2.6.2","opn":"^4.0.2","ora":"^0.3.0","publish-please":"^2.2.0","raw-loader":"^0.5.1","vue":"2.0.6","webpack":"^1.13.3"},"main":"dist/vue-facebook-pixel.js","repository":{"url":"git+https://github.com/threadhandler/vue-analytics-facebook-pixel.git","type":"git"},"keywords":["vue","plugin","analytics","facebook","facebook pixel","marketing","wemake.services"],"license":"MIT","dependencies":{},"bugs":{"url":"https://github.com/threadhandler/vue-analytics-facebook-pixel/issues"},"homepage":"https://github.com/threadhandler/vue-analytics-facebook-pixel#readme","gitHead":"3c9148f69f2048afae739006ae80a2d1fef91ba1","_id":"@blaaat/vue-facebook-pixel@1.2.4","_nodeVersion":"14.19.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-iMwnbkDzexsYaEzXlljmuCRVGvcmUawuI71f9hNIasvA+rDTVEzYDF8IX2ZJIc6xmNzwKvK7/mk2/18Xe4LH9w==","shasum":"9424513d8b9804408faad12a47d2ca159de9c125","tarball":"https://registry.npmjs.org/@blaaat/vue-facebook-pixel/-/vue-facebook-pixel-1.2.4.tgz","fileCount":5,"unpackedSize":12409,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLgTgPv7NHryogOCUT5pVa0V+s5vIH9b/lbAH177n9dwIhALhthbRPk7BQm5mB+KMQJ1sOuMgNpHoA/w7E558AyVsj"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijLv+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmogdg//aYM4N0tn5y8PUxk+xSPjANtRCt78Khtc//hrL96cNTlRxkAr\r\nNRCbk8/Qn4gBuVkXDR6QlpBME02hysHDKf2QVwlX3tARB2r/cl0v4KjqyUri\r\ncPuFC2+6ErRxiMqQrb/XwnqlUwV7B44pDOj7TPwWWf38+bsTCLALnIEDK0iS\r\nqaNm+IwDpFwyHDeBWX7QvLqopJWBIxc0Lma7O5RIbbteW5ho9WGsfeUjo6zA\r\n7Ue80UPMk/KRaB9kc1Y6z9bDbhVdGkCkZlzhxawIhc21HRa/PzcLJV16W0iT\r\nYYlRLmGundYCytQqytnplqI9e3pzz2undP0zp8AMyuoxoN7QWRCE9cajykSB\r\nZYMXJ3xV2reCMX/cndomjnSfNcdiVGVTt2jVP1oBf+tih4XN6bGtLPIXk2Hu\r\nRx5plHFpTTWSGpnZZv9SfkWIvXCyg1mEtHZeBcdsHlvZWts/ndvSgAvlk2EO\r\nFKXEviWXvsdTDcpEodjczpnsb5T1ciVFJ9VV+MBvcLPC0oXL1FaJ+Y+dlnLn\r\nwRg5oaazZHW0CRVUPRGN9tV7OC4mK5pACR05KJTjjp4eUnGeSvBjyP4cFFb4\r\n6v8zVdAreWfriAT4QE6e08ChPSEL3BJmQ3stlAH8pe5+8LfDdGHMVwl7Sdbv\r\n0Z6pxIgZvpOPIq4UVslmoMzoZoNAH+gsPuU=\r\n=1lAl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"blaaat","email":"info@sanderback.us"},"directories":{},"maintainers":[{"name":"blaaat","email":"info@sanderback.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-facebook-pixel_1.2.4_1653390334550_0.1659898951712333"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-24T10:54:20.805Z","1.2.2":"2022-05-24T10:54:21.046Z","modified":"2022-05-24T11:05:34.769Z","1.2.3":"2022-05-24T10:56:09.036Z","1.2.4":"2022-05-24T11:05:34.702Z"},"maintainers":[{"name":"blaaat","email":"info@sanderback.us"}],"description":"A Facebook Pixel API wrapper","homepage":"https://github.com/threadhandler/vue-analytics-facebook-pixel#readme","keywords":["vue","plugin","analytics","facebook","facebook pixel","marketing","wemake.services"],"repository":{"url":"git+https://github.com/threadhandler/vue-analytics-facebook-pixel.git","type":"git"},"author":{"name":"sobolevn","email":"mail@sobolevn.me"},"bugs":{"url":"https://github.com/threadhandler/vue-analytics-facebook-pixel/issues"},"license":"MIT","readme":"# vue-facebook-pixel\n\n[![npm](https://img.shields.io/npm/v/vue-facebook-pixel.svg)](https://www.npmjs.com/package/vue-facebook-pixel)\n\nA small wrapper around fbq. This package integrates Facebook pixel into your `Vue` app.\n\n## Installation\n\n```bash\nnpm install @blaaat/vue-facebook-pixel\n```\n\nAlso, this library requires installing [Facebook Pixel API](https://developers.facebook.com/docs/ads-for-websites/tag-api/).\n\n## Usage\n\n### Preparations\n\n```javascript\nimport Vue from 'Vue'\nimport VueFacebookPixel from 'vue-facebook-pixel'\n\nVue.use(VueFacebookPixel)\n```\n\n### Calling API\n\nTo start using this script you will have to call `init(...)` first.\n\n```javascript\n/**\n * Init facebook tracking pixel\n * @param  {String} appId\n * @param  {object} [data={}]\n */\nVue.analytics.fbq.init('YOUR_FACEBOOK_CODE', {\n  em: 'user@mail.com'\n})\n```\n\nMake sure `init(...)` is called only once.\n\nThen you will have full access to the `event(...)` method.\n\n```javascript\n/**\n * Event tracking\n * @param  {String} name\n * @param  {object} [data={}]\n */\nVue.analytics.fbq.event('ViewContent', {\n  content_name: 'Really Fast Running Shoes'\n})\n```\n\n#### Inside component\n\nAll `component` instances can call `this.$analytics.fbq`\n\n## Naming convention\n\nAll `vue-analytics-*` share the same `analytics` object, where all the providers are stored.\n\n## Facebook script\n\n[Facebook Pixel API](https://developers.facebook.com/docs/ads-for-websites/tag-api/) is required to be installed. You can skip the default `window.fbq('init', 'KEY')` part and use `Vue.analytics.fbq.init(...)` which will do the same.\n","readmeFilename":"README.md"}