Analytics
This package provides the base AvAnalytics class as a part of Availity's toolset for tracking user interactions and page load events in your application. It also provides the AvSplunkAnalytics plugin for logging to Splunk and Insights. For a helpful overview of how to setup these tools, read our Setting Up Logging guide.
For logging analytics in a React application, our @availity/analytics package exports the Analytics context provider that implements an instance of this AvAnalytics class under the hood. It also exports the useAnalytics hook for accessing that instance. See the Analytics component docs for details and example code for React apps.
Installation
NPM
npm install @availity/analytics-core
Yarn
yarn add @availity/analytics-core