Socket
Book a DemoInstallSign in
Socket

@fenderdigital/analytics

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fenderdigital/analytics

Fender JS Utilities analytics Module

1.7.0
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
3
Weekly downloads
 
Created
Source

analytics module for Fender JS Utilities

Installation and Usage

yarn add @fenderdigital/analytics --save
import analytics from '@fenderdigital/analytics';

List of functions in module

  • getCommonTrackProperties
  • track
  • trackAuthUser
  • trackPage

getCommonTrackProperties

Description

Tracking properties to be include on all tracking calls.

Function parameters

  • siteId - default site id value
  • properties - tracking properties included in calls
paramNameparamTypedefaultValue
siteIdstringcom
propertiesobject{}

track

Description

Tracks events for user actions and error handling.

Function parameters

  • eventType - type of event
  • properties - tracking properties included in calls
  • siteId - default site id value
paramNameparamTypedefaultValue
eventTypestringnull
propertiesobjectundefined
siteIdstringundefined

trackAuthUser

Description

Tracks an authorized user during sign-in or sign-up.

Function parameters

  • properties - tracking properties included in calls
  • siteId - default site id value
paramNameparamTypedefaultValue
propertiesobjectundefined
siteIdstringundefined

trackPage

Description

Tracks the page a user is on.

Function parameters

  • siteId - default site id value
paramNameparamTypedefaultValue
siteIdstringundefined

Development

Check the Monorepo README for development documentation.

Keywords

library

FAQs

Package last updated on 16 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.