Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jitsu/eventnative

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jitsu/eventnative

EventNative is an open source, high-performance event collection service. Read more: * [Project Github page](https://github.com/jitsucom/jitsu/server/) * [Javascript integration documentation](https://docs.eventnative.org/sending-data/javascript-reference

  • 1.1.7
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

EventNative JavaScript Library

EventNative is an open source, high-performance event collection service. Read more:

  • Project Github page
  • Javascript integration documentation

Install

npm install --save @jitsu/eventnative or yarn add @jitsu/eventnative

Usage

Full version of JavaScript integration can be found here. A simplified version is presented below

import eventN from '@jitsu/eventnative';

// initialization
eventN.init({
    "key": "<if key>", //api
    "tracking_host": "<tracking host>",
    "segment_hook": if eventN should listen to Segment's analytics.js events,
    "ga_hook": if eventN should listen to Google Analitics event
});

// push user info
eventN.id({ ...user properties}); 

// push event
eventN.track('pageview');

FAQs

Package last updated on 29 Mar 2021

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