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
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.
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.
environment | url |
---|---|
Sites (live) | https://portal.flex-charge.com/developers/sites |
Sites (Sandbox) | https://portal-sandbox.flex-charge.com/developers/sites |
2. Retrieve each site's snippet
Click the View / Edit
button at the right side of a site's row.
Select the SenseJS tab, then click the ⎘ icon next to the snippet you want to retrieve.
3. Paste this snippet in the <head>
of your checkout page
<head>
of your checkout pageOnce 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;
Updated 4 months ago