Andex Protocol Analytics Events
The @andex/analytics-events
package is a npm package of constants used as the inputs into our @andex/analytics package.
Installation
Install via npm
or yarn
.
yarn add @andex/analytics-events
npm i --save @andex/analytics-events
Release
Releasing is performed manually using the release Github workflow.
This repository uses semantic-release for the release process, which in turn uses the Angular commit message suggestions to identify the type of release.
Documentation
The top level folders such as Interface contain application specific data. This data gives context to the event being logged. Add a new folder for every new application being added.
The top level files, such as primitives contain generic data that is supposed to be reused by different applications. This data describes the events being logged, such as EventName.MENU_CLICK
, which reflects an event on a menu. Specific event context should be captured in additional fields beyond the event name to create user-friendly hierarchy groupings.
Example Apps
This package is used into a few of Uniswap Labs repos:
Legal notice
Andex Protocol encourages integrators to evaluate their own regulatory obligations when integrating this package into their products, including, but not limited to, those related to economic or trade sanctions compliance.