0.3.5 • Published 1 year ago

analy v0.3.5

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Analy Web Client (WIP)

Install

npm i analy

Setup

Setting up the script is a 3 step process:

Firstly, import "analy" at the root of your application.

Second, create a <div /> anywhere in the app as long as it is visible on every page:

<div
  id="analy-config"
  analy-base-url="https://your-self-hosted-dashboard.com"
  analy-key="bdeb62c0be50aa233**********************aec4"
/>

Note: Log into Dashboard & Create a project to get your API key

Here, analy-base-url is only to be used when self-hosting the dashboard, else avoid it altogether!

At this point, the script will be tracking page loads, sessions & all but to fire custom events, continue reading onto the next step.

Third, provide event names & event handlers to elements like so:

<button analy-event="user_login_start" analy-dom-event="onclick">Login</button>

And... thats it! You're all set up & ready to go ✨

0.3.0

1 year ago

0.3.5

1 year ago

0.2.15

1 year ago

0.2.14

1 year ago

0.2.13

1 year ago

0.2.12

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.19

5 years ago

0.0.18

5 years ago