You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@amplitude/plugin-custom-enrichment-browser

Package Overview
Dependencies
Maintainers
10
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplitude/plugin-custom-enrichment-browser

<b

Source
npmnpm
Version
0.1.0
Version published
Maintainers
10
Created
Source


@amplitude/plugin-custom-enrichment-browser

Official Browser SDK plugin for custom enrichment

Installation

This package is published on NPM registry and is available to be installed using npm and yarn.

# npm
npm install @amplitude/plugin-custom-enrichment-browser

# yarn
yarn add @amplitude/plugin-custom-enrichment-browser

Usage

This plugin works on top of Amplitude Browser SDK and allows the user to execute custom functionality on their events. To use this plugin, you need to install @amplitude/analytics-browser version v2.0.0 or later.

1. Import Amplitude packages

  • @amplitude/plugin-custom-enrichment-browser
import { customEnrichmentPlugin } from '@amplitude/plugin-custom-enrichment-browser';

2. Instantiate custom enrichment plugin

const customEnrichmentPlugin = customEnrichmentPlugin();

Options

3. Install plugin to Amplitude SDK

amplitude.add(customEnrichmentPlugin);

4. Initialize Amplitude SDK

amplitude.init('API_KEY');

Result

This plugin executes a user-defined script, defined within Amplitude Remote Configuration Settings.

Event type

  • No event type added

Event properties

  • Defined by user

FAQs

Package last updated on 20 Mar 2026

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