This plugin allows to send VWO data to Amplitude using amplitude-js
or @amplitude/analytics-browser
.
For NodeJs/JavasScript SDK
# via npm
npm install vwo-amplitude-integration
# via yarn
yarn add vwo-amplitude-integration
This plugin works with Amplitude's amplitude-js
and @amplitude/analytics-browser
libraries.
Initialize VWOAmplitudePlugin with your amplitude Instance:
In your App.js file
import amplitude from "amplitude-js";
import VWOAmplitudePlugin from 'vwo-amplitude-integration';
amplitude.getInstance().init(API_KEY, null, {
// optional configuration options
});
VWOAmplitudePlugin(amplitude);
For more details around amplitude-js
plugin, refer to this document
import amplitude from "@amplitude/analytics-browser";
import VWOAmplitudePlugin from 'vwo-amplitude-integration';
amplitude.init(API_KEY, null, {
// optional configuration options
});
VWOAmplitudePlugin(amplitude);
For more details around @amplitude/analytics-browser
plugin, refer to this document
Ensure that the code is rendered and executed exclusively on the client side, as this plugin is designed for client-side functionality only.
Copyright 2023 Wingify Software Pvt. Ltd.