Tags
Custom Events
Tracks and reports custom events.
Installation
Install the analytics npm package:
Simple Usage
Tracking with Metadata
You can enhance your event tracking by passing an object with additional metadata. This object can contain any custom fields you need.
The fields category
, label
, and value
are predefined and, if included, will be displayed in your analytics dashboard.
Edit on GitHub
Last updated on