Skip to content

This plugin allows to send VWO data to Amplitude using amplitude-js

License

Notifications You must be signed in to change notification settings

wingify/vwo-amplitude-integration

Repository files navigation

VWO Amplitude integration plugin

This plugin allows to send VWO data to Amplitude using amplitude-js or @amplitude/analytics-browser.

Package Installation

For NodeJs/JavasScript SDK

# via npm
npm install vwo-amplitude-integration

# via yarn
yarn add vwo-amplitude-integration

Usage

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.

Code of Conduct

Code of Conduct

License

Apache License, Version 2.0

Copyright 2023 Wingify Software Pvt. Ltd.

About

This plugin allows to send VWO data to Amplitude using amplitude-js

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •