1.0.8 • Published 4 months ago

pkg-tst v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
4 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

4 months ago

1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago