New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

fullsession

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fullsession

In your code entry module, import the `fullSessionTracker` and initialize it with your customer id.

latest
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

How to use

Initialization

In your code entry module, import the fullSessionTracker and initialize it with your customer id.

import { fullSessionTracker } from 'fullsession'
fullSessionTracker.initialize('[customerId]');

User Identification

Identifying user information (name, user ID, email) and attaching them to a session facilitates the process of filtering sessions by user information.

The following JavaScript API allows you to attach user information to the session being recorded.

import { fullSessionTracker } from 'fullsession'


function identifyUser(username, name, email) {
  fullSessionTracker.identify(username, { name, email });
}

Custom Events

Custom events serve as a means to augment sessions with personalized information related to user interactions on a web page. To achieve this, the website development team is tasked with invoking a JavaScript function when the user interacts with the relevant webpage element.

The following JavaScript API allows you to add a custom event to the event stream captured by FullSession.

import { fullSessionTracker } from 'fullsession'


function sendCustomEvent(eventName, eventData) {
  fullSessionTracker.event(eventName, eventData);
}

For more information about fullsession APIs, please visit https://help.fullsession.io/en/collections/7486210-developer

Keywords

test

FAQs

Package last updated on 24 Aug 2025

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