
Security News
High Salaries No Longer Enough to Attract Top Cybersecurity Talent
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
@highoutput/analytics
Advanced tools
npm install @highoutput/analytics
import Analytics from '@highoutput/analytics';
const analytics = new Analytics({
project: 'studio',
token: 'secret',
});
// Create or update user
analytics.setAccount({
accountId: 'unique-id-123',
body: {
firstname: 'juan',
lastname: 'bautista',
email: 'juan.bautista@mail.com',
created: new Date(),
}
});
// Create an event.
// Omit `accountId` if event does not need to be associated to user.
analytics.createEvent({
eventName: 'CREATE_POST',
accountId: 'unique-id-123',
body: {
postType: 'SOME_POST_TYPE',
platformUsed: 'web',
},
});
Returns a new analtyics
instance.
Type: object
Type: string
Unique name of your project.
Type: string
Token from Mixpanel.
Analytics
instance.
Create or update user details to. Only the accountId
is required.
Unique identifier of the user. In Mixpanel, this will appear as Distinct ID.
Details of the user. The firstname
, lastname
, email
, and created
are predefined properties but are not required. If created
is omitted, it defaults to new Date()
.
Any additional custom properties can be added. Values with types of Buffer
or ObjectID
are serialized into string using bs58.
Note: The corresponding request to Mixpanel is added into a queue.
Stores an event to Mixpanel.
Note: The corresponding request to Mixpanel is added into a queue.
Type: string
Name of the event.
Type: string
User associated to the event. If omitted, the event created will not be associated to any user.
Type: object
Any properties relevant to the event. Values with types of Buffer
or ObjectID
are serialized into string using bs58.
Clears the queue and waits for the pending request to Mixpanel to finish.
FAQs
Analytics
The npm package @highoutput/analytics receives a total of 5 weekly downloads. As such, @highoutput/analytics popularity was classified as not popular.
We found that @highoutput/analytics 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.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.