Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Link your Piwik/Matomo installation
npm install --save vue-piwik
import Vue from 'vue'
import VuePiwik from 'vue-piwik'
Vue.use(VuePiwik, {
host: 'https://matomo.example.com',
siteId: 5,
router: router // Enables automatically registering pageviews on the router
})
// Now you can access piwik api in components through
this.$piwik
// or
window._paq.push
// or through
window.Piwik.getTracker
For available operations see the piwik api docs
<!-- Include after Vue -->
<!-- Local files -->
<script src="vue-piwik/dist/vue-piwik.js"></script>
<!-- From CDN -->
<script src="https://unpkg.com/vue-piwik"></script>
Bundle the js and css of to the dist
folder:
npm run build
FAQs
Link your Piwik/Matomo installation
The npm package vue-piwik receives a total of 0 weekly downloads. As such, vue-piwik popularity was classified as not popular.
We found that vue-piwik demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.