Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@amplitude/plugin-custom-enrichment-browser

Package Overview
Dependencies
Maintainers
5
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplitude/plugin-custom-enrichment-browser

<b

latest
Source
npmnpm
Version
0.1.9
Version published
Weekly downloads
739K
-25.89%
Maintainers
5
Weekly downloads
 
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 21 May 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