{"_id":"@dexlib/svelte-matomo","_rev":"5-76892b0171d06e2fe8d8c448f67cde26","name":"@dexlib/svelte-matomo","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@dexlib/svelte-matomo","version":"0.1.0","svelte":"src/index.svelte","module":"index.mjs","main":"index.js","scripts":{"build":"rollup -c","prepublishOnly":"npm run build"},"devDependencies":{"rollup":"^1.11.0","rollup-plugin-node-resolve":"^4.0.0","rollup-plugin-svelte":"^5.0.0","svelte":"^3.0.0"},"keywords":["svelte"],"description":"A base for building shareable Svelte components. Clone it with [degit](https://github.com/Rich-Harris/degit):","_id":"@dexlib/svelte-matomo@0.1.0","dist":{"shasum":"5ce9b37850623205c4fa6413a4aec79a685f3830","integrity":"sha512-V54qo9teMyipaCm0Ea74LlbiyMvuAooFHxiO1i+/ChBEdqmocgciBxaWWgnWpiVPNC29LQNU9wZTiLYrcJnCKQ==","tarball":"https://registry.npmjs.org/@dexlib/svelte-matomo/-/svelte-matomo-0.1.0.tgz","fileCount":7,"unpackedSize":43130,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2B25CRA9TVsSAnZWagAA57oP/0MyFSWFmjagniqzEI6T\nQXgz2efOMTaA5ZvOHr0l6pi6I6LYt1tTrVCA3EP4PY/V6D4kGFyMgxwUy//5\nt9DFPUOQ5HiC46oL7aegid2UP/BROxpk4DDUP0+km3UypDxDNxbNBt4UAH8e\nbCe8kk3rbHf3njWwX24iMLSmUr+vzRWTuB7WAa0C0dyauZlt0npTdHCYTuGu\nuh5llU/MheXPypU+F6PuDRGkK84bVhcILHyL8nbfes0QExEk2CSjoqrOU9mc\n8Y6ZPYN03B5C3Q8qICdW2JWC/JHaKi8/jhmN3v83OQ/4pbwctARZJKa66O1Y\nq39CMSH9x45hv/CfF6YFW1/ONrKfMqxNE33vrAN4HpBkcn+UigGO+L/SzLh8\ngUs4ZDFLpXrpD9X5NcwIiypQry4kLy7A1AKNMXLVzeTqT6oOJX2hpHTWF29+\n4/NJSEmIv9DLOniceX9OI04so7F87u0AROfemIZg5FdR2Uxl/WTa30SAD0Hp\nSjw5MgL6E1GTJFQlCqkJjSQhMpQcbQJoz+dK+E3kRVCshnIiSEqRqDU5OutE\nEpdD4Fq2NTvn4Y1B+zfPk/gj3qMPvtv6AJ1hIHI17mmI6hcbULNFVHJkgoQ+\nCx8rBo7WV88jHd2XS4YPXZt/zBCeJI89XMnI2K7qV8IERq5gqhXl7gM+JTOe\nryNu\r\n=YG6n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICkDZIvZgJ7LCU3e0qeVAlFUiFUNqjB7g4ukioVXG2SOAiEAyS37bMoBJV8D0FHnkaYFEWqYpW3tsRb7FUsz3W8TdhM="}]},"maintainers":[{"name":"dexterlabs","email":"dexter@nerdalize.com"}],"_npmUser":{"name":"dexterlabs","email":"dexter@nerdalize.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-matomo_0.1.0_1574444472831_0.6734698245388009"},"_hasShrinkwrap":false},"0.1.1":{"name":"@dexlib/svelte-matomo","version":"0.1.1","svelte":"src/index.svelte","module":"index.mjs","main":"index.js","scripts":{"build":"rollup -c","prepublishOnly":"npm run build"},"devDependencies":{"rollup":"^1.11.0","rollup-plugin-node-resolve":"^4.0.0","rollup-plugin-svelte":"^5.0.0","svelte":"^3.0.0"},"keywords":["svelte"],"description":"This component loads the matomo script and exposes an asynchronous matomo api.","_id":"@dexlib/svelte-matomo@0.1.1","dist":{"shasum":"eba0ba20b1e3192c16cee637012b4e0716741299","integrity":"sha512-o7711vaToUHNx0Y3TzXHxYkunQRgxVkleBd8mrfIoly69AmvKrDnk1AVpoV1CgOQCCy+AZMzFHgHt/pJyVscBw==","tarball":"https://registry.npmjs.org/@dexlib/svelte-matomo/-/svelte-matomo-0.1.1.tgz","fileCount":7,"unpackedSize":42700,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2COWCRA9TVsSAnZWagAAvGEP/R6+/dokezsMVIBnY4+f\nbVzUr4Meux+LwTsghIUrbJLYJcOh+GLJQFU9XVpUEAvKpe4+M5FPNQfyfk/0\nBCDUamscHyMDqO06xVRFdEzg0JPy2Tv7u/LLcIm16+5F2yyzfWQ+HXSZ1Wec\nGTpnD3vQf5qPskrJ/jTHk8svIWnNF5SNpsz5xHT0RysLGKegPPkVeRYVgKod\ns1zoYcY8TZWv05ZZHuznq+oR5PeGX2mjt2r5i8FWPuOrNqZ4yYxvEQ/iuMxO\nvlsBgeOH9ZNRbnFUPF9QpuelfPtks0bFJ9G3alUCzTdRxuiPAp53EaPwqDy2\nUdXnbj5NQxCPmwZrZ0KkBgSiSgrywyLyaeSbrKEq3hcUWrocClP6xZpMjKDl\nmpLV9SwloWEjTSJsW63TFSe4ygY+X2ISzD/bxChtGouGFnBw7ieCSPz1yfja\n4WeL7IWRRCrkmUu+NHPnVSFqYxZRyAEqww69HjellImIM4n6WQUU/Nzb2SZE\nbUDeZDJWsvysJ4ZYFIhReClqx4HIIYAd2lwGcrjbKYX6a+5ARZhGP2nTmd4o\nvn4Ef7z7Vwq50giOentuJ36U/OjvgBZ5P+RssLUa5YcliUaesFfvPknxjd6b\nWnjpkB1jf4iudtCNZ0FavYSHYPX3Su3/uQ5xFydIfESEjUOinmo+GxxoFYJT\nsYJs\r\n=6VtO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAyZbCh7tF47YMInfdRMqYwud8ZrUj8mgvCMM5KFp5CKAiEAjs1Pb4HA6R+YiJqqLFGINgPzya/ZsJ4xaespaVb+k7c="}]},"maintainers":[{"name":"dexterlabs","email":"dexter@nerdalize.com"}],"_npmUser":{"name":"dexterlabs","email":"dexter@nerdalize.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-matomo_0.1.1_1574445973648_0.9486040885212512"},"_hasShrinkwrap":false},"0.1.2":{"name":"@dexlib/svelte-matomo","version":"0.1.2","svelte":"src/index.svelte","module":"index.mjs","main":"index.js","scripts":{"build":"rollup -c","prepublishOnly":"npm run build"},"devDependencies":{"rollup":"^1.11.0","rollup-plugin-node-resolve":"^4.0.0","rollup-plugin-svelte":"^5.0.0","svelte":"^3.0.0"},"keywords":["svelte"],"description":"This component loads the matomo script and exposes an asynchronous matomo api.","_id":"@dexlib/svelte-matomo@0.1.2","dist":{"shasum":"d33c1c5e3fd225c6ad77d14338f0a4186a065484","integrity":"sha512-R/qvkJ1vji808qqLMYSgl1qLJjC1eMR1OH15FlQFKVo49RI366W9aKgaR7wfnpw5gNuIAedf7E/RB5AKXmZg7g==","tarball":"https://registry.npmjs.org/@dexlib/svelte-matomo/-/svelte-matomo-0.1.2.tgz","fileCount":7,"unpackedSize":41609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2sm6CRA9TVsSAnZWagAAdwQP/iLAvuCNE8/31YBNVyUb\neID9RfAyt5eUgSZGgSxa+SeN8PbnCZwpyrMGnbSjLDKGozF9oINESfinUBEh\nIBZ5XrFwErSXsf8+hgjcRsfSsvsSpO8uq4gFieLL4Rdxb8M341+rZZFRn88H\nnz3aSOHYfW4uilaKXmhRpONe73n83YinoMJR9p1aRvlhUpT6Wzevk6pnTK/Y\n1jhcnsTugoQ4SMeX71YIuQse0PSe7/3IlnigKVu2gmh4wcJsmeQ5vam8qC4S\nyYlPxGED2XMIhcZNk1i3O+qpitxmZnHOH855oE5/H6DgC2T5/A4tPx/FG+bN\nmlpRdWV3aHmjlalshKjY/WdhaBtEfN7v7Bx+DR3yfeodk6ZloKj6TOoCMoHz\nRjZRNjCsQzXdSpVsYYBWHTYOwgHXQCUaJ/2nL/iYrrCdBg5ndHJbkHoQY7uE\n1hMwY9eFqDWKjxFo+mpG7MpIVirjdyW5eoifoyHyroCmsfbWsqTKq/Ch+EN6\nrK+b36YcGMK88DjDN7Sbr/h8QzH+GSXcL0c6Ch3t70epk4/6wd6BE8rzg7Iv\ndVtyZT0s+XF++CxHG6DwleIJLZ1eagqfBO4Uo13XH211VNeyVqJcXh12xxc9\n24MvYUDnQOITVC3/U+wNU6ub0mlcOUC6Qe2IKRQa3TKU7rWMyr8VG3mrq/uA\ncHtq\r\n=AnVm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgCuCP6S+GxSUwCQrT84tmBvuYK30a2fKdDPBtbWx7EQIgZYBBUW3LViGdvscfR5rRdgNIhFY+DF3Y9m1ZsnQY8bs="}]},"maintainers":[{"name":"dexterlabs","email":"dexter@nerdalize.com"}],"_npmUser":{"name":"dexterlabs","email":"dexter@nerdalize.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-matomo_0.1.2_1574619577721_0.5124828590730073"},"_hasShrinkwrap":false},"0.1.3":{"name":"@dexlib/svelte-matomo","version":"0.1.3","svelte":"src/index.svelte","module":"index.mjs","main":"index.js","license":"MIT","scripts":{"build":"rollup -c","prepublishOnly":"npm run build"},"devDependencies":{"rollup":"^1.11.0","rollup-plugin-node-resolve":"^4.0.0","rollup-plugin-svelte":"^5.0.0","svelte":"^3.0.0"},"keywords":["svelte"],"description":"This component loads the matomo script and exposes an asynchronous matomo api.","licenseText":"MIT License\n\nCopyright (c) [year] [fullname]\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@dexlib/svelte-matomo@0.1.3","dist":{"shasum":"2213cb34e26c2681f133af5d98526cad5e8dcc56","integrity":"sha512-VRSjvRQSBorPQDTOqf0wRlWhmvJ12OtgP7qKDEpWy9ugdF08qVpXhZHJ9f/EbeOMo3mgcreJlxsnhkulSFMKxg==","tarball":"https://registry.npmjs.org/@dexlib/svelte-matomo/-/svelte-matomo-0.1.3.tgz","fileCount":8,"unpackedSize":42697,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJew5a+CRA9TVsSAnZWagAAYbAP/329+v9pNbW98UPWdy19\nXrWJp+DYLWb8P+Yf4Xr1D7QKvodXCOH6dBIf0Mv5aDshf+N9RtbxvNYxUAZx\noMfVOJLq+fezigZiz/Rnd37Y7Wv1EleeCWM3Z9KvxOGXY6YtWBDPYDCdsv8p\nGUWpPtQZG9f6Xww4mrD9DnR1IMlRbPuQocfKPyfYM1s3kjOe7SgopWZ2YwaN\nQhta0m9WqLpuCCDuitBZ49WNYga8hL6bCPZiKvtumy+saCwzDLd0NJssJvtE\nvrFYZUBWm3FaPeXsy0O7yrrtz7m1YhzuEzuGqkPMx0quTA5zDkVskVeXnFDC\nEvzPPvxvHDHboNMRY65mdDr41L5iFpkfX3uhR0i+SjKQPpBowo4nz9mSX+w6\nwAym4Udcm44fsqrs/k11IGWXbbpyrrMDVus7PmiClKXXzWt1cmQSAWsHTfGF\nA+UPoifC/KRHPacULhM0GNp9K0b+7+fjgC8dK43QqQYvCBCovWWqv7I3jrkJ\nwBGNN9p3GPtJZaecZLcj+XAF/GU+e5X5n+EggyzaBk3XDBvhXbZZ3mI1t5WC\nSDsdXr75VXWw4HTtMUhv1gsdqO0vBVW4XBpeVIhfjaCyAukWiMWLmFyVfh6U\nomOeKtgFYm0uCUlY5dAN8GQDaxMpwWvT96TgSlyTC4jm9CA6wV0YRXE+cwY/\nd0Jw\r\n=Dfh2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCX+5zhjKZxXef6BlSrdjMTLJ/1KrFzWVvIu2Lca0b1TgIhAPrrtTaIM+1kExbHA2viOmVH3D8xb/6CiV3DFinvxX+O"}]},"maintainers":[{"name":"dexterlabs","email":"dexter@nerdalize.com"}],"_npmUser":{"name":"dexterlabs","email":"dexter@nerdalize.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-matomo_0.1.3_1589876414450_0.9101731121846397"},"_hasShrinkwrap":false},"0.1.4":{"name":"@dexlib/svelte-matomo","version":"0.1.4","svelte":"src/index.svelte","module":"index.mjs","main":"index.js","license":"MIT","homepage":"https://gitlab.com/dexterlabs/dexlib/-/tree/master/packages/svelte-matomo","repository":{"type":"git","url":"https://gitlab.com/dexterlabs/dexlib.git"},"scripts":{"build":"rollup -c","prepublishOnly":"npm run build"},"devDependencies":{"rollup":"^1.11.0","rollup-plugin-node-resolve":"^4.0.0","rollup-plugin-svelte":"^5.0.0","svelte":"^3.0.0"},"keywords":["svelte"],"description":"This component loads the matomo script and exposes an asynchronous matomo api.","licenseText":"MIT License\n\nCopyright (c) [year] [fullname]\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@dexlib/svelte-matomo@0.1.4","dist":{"shasum":"4c833610c704b3f89fd56664eed67ca7afc0acff","integrity":"sha512-Ki18Xxf02NY9so7eZcTHcH9Xs2gSe1ENaV6/4YQmJ38gCbbCSfI0i1ZpT0Fdep2LgrIlYg66WU5RWS6OOzffCQ==","tarball":"https://registry.npmjs.org/@dexlib/svelte-matomo/-/svelte-matomo-0.1.4.tgz","fileCount":8,"unpackedSize":42832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJew5g6CRA9TVsSAnZWagAA360P/jZnxzCWzvWZaLiWUiIR\ncqYLOn7H7hRH+U//GoXObrzS/bJTfD4pb9JWDl/qDVvSm8h5vgN/SSs9krdL\nwExKW/cOPuMLOVmxO4JLcEUaQ6CkQae/QyRA0bpRNhBiqf9NhxpJiUm4WUmd\n/3qOU3bPwcMstZMWfkThCjrRruGZ3GY7ILBlgaIG4mYSh5dMA+2x0wVUXyNJ\nj32ptMF3KX4rxYsrMuSnwlphW4SyVe/jmf0GBwuIcAPeYqbgs/0gwHAVbsBo\nHlsQza2IMDtngMalppNWlq2qYwB7XsykB5ys2KmhauFuM4dNFoGqgg5Y+5+R\nhroYCS5qSbcpoVCYiubTm1BLXpgTTR6voeJeFjwQc8hMFbgkO3gyCxIk+4fv\nJSR2sYGtxVcwETfgO406zsPm3BhFZ74daGraQexR+frb6+S7YjvwS5DerzLj\nTbqakNJRD7/LjYS8A+A1FTim4kjqxo6CdXpIYyQpkEoSSw3Qp0EDh9qr1f29\n4en+k2BvzTIx7e5b8KT1avone4AC5Z4reerABSB5NTIbW81el9NU1P/ushxp\nQVQfVGP0iKlntFHB+8Q3Rbw5c93mvK85pQ5/itj6GnuKwFZBY19MawsnxgWa\nK9fH7yt73dvYwJL6EDv6HdLqV8/y+ttutWCCDei7DcgQF5cI3Vc3Wa99ysUC\nesCa\r\n=nb7X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8FA0uL966M5L+74UPasTEt3uD2qGkGXPHRywEyIG79AiAveJbaAkrbEdtfrNqrAXaAIpKYdDj7ocwRPtss0oMyjQ=="}]},"maintainers":[{"name":"dexterlabs","email":"dexter@nerdalize.com"}],"_npmUser":{"name":"dexterlabs","email":"dexter@nerdalize.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-matomo_0.1.4_1589876794392_0.7397024006491895"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-22T17:41:12.592Z","0.1.0":"2019-11-22T17:41:13.004Z","modified":"2022-04-05T04:12:29.389Z","0.1.1":"2019-11-22T18:06:13.805Z","0.1.2":"2019-11-24T18:19:37.873Z","0.1.3":"2020-05-19T08:20:14.555Z","0.1.4":"2020-05-19T08:26:34.526Z"},"maintainers":[{"name":"dexterlabs","email":"dexter@nerdalize.com"}],"description":"This component loads the matomo script and exposes an asynchronous matomo api.","keywords":["svelte"],"readme":"# svelte-matomo component\n\nThis component loads the matomo script and exposes an asynchronous matomo api.\n\n## Usage in svelte\n\n```html\n<script>\n  import { onMount } from 'svelte'\n  import Matomo, { matomo } from '@dexlib/svelte-matomo'\n\n  const url = '<matomo-url>'\n  const siteId = 0\n\n  onMount(() => {\n    matomo.trackPageView()\n  })\n</script>\n\n<Matomo {url} {siteId} />\n```\n\n## Usage in sapper\nIs very similar, but set it up in your most upper `_layout.svelte` page component. You can use the page store for reacting to page changes:\n\n* _layout.html *\n```html\n<script>\n  import { stores } from '@sapper/app'\n  import Matomo, { matomo } from '@dexlib/svelte-matomo'\n\n  const { page } = stores()\n\n  const url = '<matomo-url>'\n  const siteId = 0\n  \n  $: if ($page) matomo.trackPageView()\n\n  onMount(() => {\n    matomo.trackPageView()\n  })\n</script>\n\n<Matomo {url} {siteId} />\n```\n\nUse the [matomo api](https://developer.matomo.org/api-reference/tracking-javascript) for further reference.\n","readmeFilename":"README.md","license":"MIT","homepage":"https://gitlab.com/dexterlabs/dexlib/-/tree/master/packages/svelte-matomo","repository":{"type":"git","url":"https://gitlab.com/dexterlabs/dexlib.git"}}