
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
@bcgov/gatsby-source-matomo
Advanced tools
Plugin that generates a set of nodes based off Matomo analytics
Load page data as source nodes
Although the Matomo API claims to be 'restful', it is far from that. For the initial implementation of this plugin,
only page information is retrieved by via default method Action.getPageUrls
api reference
This can be overridden to your liking with the apiOptions
option
npm install --save @bcgov/gatsby-source-matomo
{
resolve: 'gatsby-source-matomo',
options: {
matomoApiToken: '...',
matomoUrl: '...',
siteId: '...'
apiOptions: {...}, // overrides for the matomo api
}
}
//...
resolve: 'gatsby-source-matomo',
options: {
apiOptions: {
period: '..',
date: '..',
method: 'foo'
// etc
}
}
The initial implementation default to getting page urls, this plus the overridability with the
apiOptions
field makes this plugin fairly flexible. I am happy to take PR's on extending the capability
of this plugin
add support to recurse through page urls. Matomo only provides page urls one section at a time. At this time we only support 1 level nested page paths.
https://mysite.com/path1/path2/path3 > will not get path3 stats
There is no implementation detail to change the Node Type during an override so be careful with that!
FAQs
Plugin that generates a set of nodes based off Matomo analytics
The npm package @bcgov/gatsby-source-matomo receives a total of 4 weekly downloads. As such, @bcgov/gatsby-source-matomo popularity was classified as not popular.
We found that @bcgov/gatsby-source-matomo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.