1.0.19 • Published 10 months ago

@siddhesh_shetye/analytics v1.0.19

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Analytics Module Overview

This module is designed to track analytics within your application, allowing you to gain valuable insights into user interactions. It captures various key parameters for each event, ensuring detailed analysis.

Supported Event Types:

Clicked: Indicates instances where a user interacts with a clickable element. Viewed: Indicates when a user accesses or views a particular item or page. Added to Cart: Records when a user adds an item to their shopping cart or basket.

Parameters Captured:

  • event_type: Classifies events into categories such as "clicked," "viewed," or "addedToCart."
  • event_name: A descriptive string identifying the specific action taken by the user, providing detailed context for each event.
  • collection_name: Indicates the name of the collection within which the event occurred.
  • collection_id: The record of the collection on which the event took place.
  • field: Identifies any specific field within the collection record where the event occurred.
  • user_token: should be pass as bearer token.

env:

ATTEMPTS_ENABLED=true //To enable or disabled attempts per hours check. ATTEMPTS=5 //This value determines the threshold for blocking user attempts after the specified number of tries. ATTEMPTS_HOURS=1 //This value determines the timeframe for blocking user attempts after reaching the specified number of tries within the indicated hours.

How to Install

Copy the following code and run from your terminal

yarn add siddhesh_shetye/analytics
npm i siddhesh_shetye/analytics
1.0.19

10 months ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year 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