appscoperplugintest
v1.2.4
Published
plugin for appscoper to generate sdk and register events
Readme
Introduction
appscoperplugintest is a plugin for AppScoper that allows you to easily test AppScoper main functionality. It provides sendEvent function that triggers your main events.
Installation
To install appscoperplugintest, run the following command in your terminal:
npm install appscoperplugintestUsage
Below is an example how to use this plugin:
import { sendEvent } from "./node_modules/appscoperplugintest/src/index.js";
window.onload = function () {
// sendEvent(appToken, eventName, appIdentifier, appVersion, appScreen, screenDuration, amount)
sendEvent("k8eoi47mqdc0gkkswg10", "testhome", "web", "", "home2", "", "");
};