SenseJS

SenseJS is a JavaScript library for the browser that is used as a device fingerprint and to track simple page events like loading, pasting, resizing. It also allows the matching between this user's session and their order.



Overview

CIT general workflow

SenseJS is sitting on the Customer's browser

SenseJS is a tracking anti-fraud FlexFactor script that you need to embed on your checkout pages.

It does not add any steps to the checkout flow, and is absolutely invisible to customers.


❗️

Activity from SenseJS on the checkout page is being matched to the order

Inactive or improperly implemented SenseJS will impact the rescue rate.



How to activate SenseJS

SenseJS is a FlexFactor script that is specific to your checkout page. To activate it, you need to copy-paste it on the <head> of your website's checkout page.

SenseJS snippet example

SenseJS snippet example


What does it change?

SenseJS is performing anti-fraud fingerprinting on the background, it's never shown to the customer.


How to retrieve your scripts

1. Go to the Sites section of your Portal

Select Developers > Sites from the left menu.

Your Sites section

These are the websites that are set for your account.



2. Retrieve each site's snippet

Click the View / Edit button at the right side of a site's row.

Click View/Edit for a Site

Click View/Edit for a Site

Select the SenseJS tab, then click the ⎘ icon next to the snippet you want to retrieve.

Select the SenseJS tab, then copy the snippet

Select the SenseJS tab, then copy the snippet


3. Paste this snippet in the <head> of your checkout page

Once it's done, SenseJS will automatically be active.

Prerequisite

  • Your checkout page must be hosted using HTTPS protocol
  • Please share the url of your test environment so that we can whitelist it

❗️

Content Security Policy

If you use CSP (Content Security Policy) headers on your site, you must allow the "*.flex-charge.com" in connect-src directive for full functionality based on your host configuration.

Content-Security-Policy: connect-src 'self' https://*.flex-charge.com;