JavaScript SDK for sending events to the Meergo Customer Data Platform (CDP)
npm install @meergo/javascript-sdkThe official JavaScript SDK for sending events to the Meergo Customer Data Platform (CDP).
``bash``
npm install @meergo/javascript-sdk
Then import it in your application:
`js
import { Meergo } from '@meergo/javascript-sdk';
const meergo = new Meergo('your-event-write-key', 'https://example.com/v1/events');
meergo.page('Home');
`
#### ā Compatible with all browsers (ES5, IIFE):
`html`
#### ā Modern browsers (ES6 module):
`html`
> š” Replace "your-event-write-key"` and the endpoint URL with the values provided by Meergo.
For full usage, advanced configuration, and API reference, visit the
š Meergo JavaScript SDK Documentation
MIT License
Ā© 2026 Open2b