New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@groupby/elements-gb-tracker-plugin

Package Overview
Dependencies
Maintainers
11
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@groupby/elements-gb-tracker-plugin

This package contains the GroupBy Tracker Plugin class. Its purpose is to provide automatic beaconing integration with Groupby.

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
11
Created
Source

GroupBy Elements GB Tracker Plugin

This package contains the GroupBy Tracker Plugin class. Its purpose is to provide automatic beaconing integration with Groupby.

Prerequisites

This plugin depends on the following Elements plugins:

  • dom_events

These plugins must be registered either before or in the same batch as this plugin.

Usage

To use the plugin, simply instantiate it and register it with Core:

const gbTrackerPlugin = new GbTrackerPlugin({
  customerId: 'my-customer-id',
  area: 'some-area',
  collection: 'some-collection',
});
core.register(gbTrackerPlugin);

It accepts a mandatory customerId. It also accepts optional area and collection arguments to handle tracking actions against specific areas and collections.

Additionally, the plugin will automatically listen for and act on beacon events. It is designed to work with the other plugins in the Logic Layer.

The plugin registers an instance of the gb-tracker client with Core.

Events

This plugin listens for a number of events. These events are defined in the @groupby/elements-events package.

Received

  • BEACON_SEARCH: When received, a GroupBy Auto Search beacon is triggered.

FAQs

Package last updated on 20 Dec 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