New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lukemnet/vuepress-plugin-matomo

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lukemnet/vuepress-plugin-matomo

Matomo plugin for VuePress

  • 1.0.3
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@lukemnet/vuepress-plugin-matomo

Allows Matomo access tracking on VuePress.

This project is an independently maintained fork of vuepress-plugin-matomo intended to keep compatibility with future VuePress versions.

This project takes many ideas from vue-matomo, but tries to make them SSR friendly for vuepress usage.

Installation

npm install vuepress-plugin-matomo

or

yarn add vuepress-plugin-matomo

VuePress Setup

Add the following block to the plugins array of your config.js file.

// ...
  plugins: [
    // ... other plugins...
    [
      "vuepress-plugin-matomo":
      {
        'siteId': 1,
        'trackerUrl': "https://my.matomo.url.here/"
      }
    ],
    // ... more plugins...
  ]
// ...

Also see vuepress' plugin page. This plugin uses babel-style options for configuration.

Plugin Options

  • trackerUrl (string, Required)
    • URL where the piwik.php/piwik.js files can be found
  • siteID (number, Required)
    • Matomo numeric site ID of the site you want to track
  • trackerJsFile (string, defaults to "piwik.js", Optional)
    • Name of the js file to call on the matomo server
  • trackerPhpFile (string, defaults to "piwik.php", Optional)
    • Name of the php file to call on the matomo server
  • enableLinkTracking (boolean, defaults to true, Optional)
    • Enable/disable link click tracking

License

MIT License, see LICENSE.txt for more info.

Keywords

FAQs

Package last updated on 08 Oct 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc