Socket
Socket
Sign inDemoInstall

@gradeup/tap-web-sdk

Package Overview
Dependencies
Maintainers
6
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gradeup/tap-web-sdk

Push structured events from web to any server


Version published
Weekly downloads
9
decreased by-43.75%
Maintainers
6
Weekly downloads
 
Created
Source

Tap Web SDK

Send structured events from web to any server 🚀

Requirements

Needs Fetch API for this to work. Use unfetch if you want to support older browser

Install

npm i @gradeup/tap

Usage

import tap from "@gradeup/tap";
// Must initialise sdk after user has logged in
tap.init("https://example.com/analytics", { userId: 2, name: "Example User" });
// Push event whenever you want
const event = {
    event: "UpVote"
    itemId: 1,
};
tap.event.push(event);

Keywords

FAQs

Package last updated on 04 Jul 2019

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