Skip to main content
Lifesight Pixel | JS SDK

Get event data flowing from your website to Lifesight.

Updated over a year ago

Overview

The Lifesight Pixel tracks user activity and preferences on your website. It is a required snippet of copy-pastable JS code that can be effortlessly incorporated into your website. Once integrated, the SDK empowers us to collect a wide range of behavioral data from your visitors. Whether anonymous or logged in, each user's interaction, from marketing touchpoints to actions, is captured. This collected data feeds into our backend device graph, allowing us to have an in-depth understanding of customer journeys.

All of this aggregated data is then conveniently displayed on the profile dashboard.

What does Lifesight Pixel capture?

Lifesight Pixel tracks client-side events like a user visit or interaction with the website. These are some of the attributes that it auto-tracks:

  • Page Views: Views are automatically tracked along with associated metadata.

  • UTM Parameters: Tracks where the user has landed on the website.

  • Marketing Identifiers: Identifiers from Facebook, Google, and Snapchat are captured, including first-party cookies and click IDs.

To gain deeper insights into your users and their actions, you might explore additional API calls supported by the Lifesight JavaScript SDK. These capabilities allow for the transmission of extra data types—namely, 'track' and 'identify'—and offer a foundational guide to establishing a robust data strategy.

Identify Function

The Identify call allows you to tie a user to their actions and record traits about them. It includes a unique User ID and any traits you know about the user, like their email, name, and address. Sending an Identify call is your first step towards understanding who your users are.

Track Function

Track call allows you to record any actions your users perform, along with any properties that describe the action. Sending a track call is your first step towards understanding what actions your users are performing on your website.

Did this answer your question?