1.0.8 • Published 5 months ago

pkg-tst v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

NPM Version npm bundle size GitHub

Installation

To install the @datafloww/analytics package, run:

npm install @datafloww/analytics

Initialization

To initialize the analytics library, import the Analytics class and call the init method with your write key:

import { Analytics } from "@datafloww/analytics";

const analytics = Analytics.init({ key: "YOUR_WRITE_KEY" });

Usage

You can now use the analytics instance to track custom events. Here is an example:

// Example: Track a custom event
analytics.track("event_name", {
    property1: "value1",
    property2: "value2",
});
1.0.8

5 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago