This repository contains the mParticle JavaScript integration (kit) for Rokt.
A simple snippet example application is included in this repository to demonstrate the integration between mParticle and Rokt. The example shows how to:
- Initialize the mParticle Web SDK with the standard snippet
- Load and register the Rokt Kit
- Display the Rokt Layout when a button is clicked
To run the example:
-
Build the Rokt Kit:
npm run build -
Navigate to the example app directory:
cd example-app -
Install dependencies:
npm install -
Update the API key in
index.htmlwith your mParticle API key -
Start the server:
npm start -
Open your browser to http://localhost:3000
npm install
npm run build
npm test
Complete documentation for this integration can be found on the mParticle docs site.
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.