
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
jk-analytics
Advanced tools
"I am a log maker, so I write logs JIKE by JIKE."
$ npm i jk-analytics
<script id="jka-providers"
data-google="UA-3318xxxx-1"
data-sensors="USER-4e7020cb"
></script>
Set the userId
on the tracker:
JKA.setUser(userId, userData)
// Set the current page, default value of the 'page' field while invoking JKA.event(options)
JKA.setCurrentPage('Home Page')
JKA.pageview({
title: 'My Overridden Page', // Required.
page: '/my-overridden-page' // Required. This value should start with a slash (/) character.
})
Event Options Table (analogous to GA) :
Name | Required | Description |
---|---|---|
page | yes | The name of the page/activity (e.g. About Page ) |
action | yes | The type of interaction (e.g. View Sune's Portfolio ) |
label | no | Useful for extra infos (e.g. Junior Frontend Developver ) |
You can call the event function to track an event:
JKA.event({
page: 'Download Page',
action: 'Download Jike app',
label: 'Superhero button'
})
Or, easily add data-jka="{}"
to a DOM element as:
<button data-jka="{
page: 'Download Page',
action: 'Download Jike app',
label: 'Superhero button'
}">Download App</button>
To automatically log event options
, you can use the debug
mode:
JKA.enableDebug()
FAQs
I am a log maker, so I write logs JIKE by JIKE.
The npm package jk-analytics receives a total of 0 weekly downloads. As such, jk-analytics popularity was classified as not popular.
We found that jk-analytics 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.