Add Device and Behavioral Data Collection
To gather data associated with the consumer’s device and behavior while navigating your website, you must add certain profiling JavaScript tags to selected pages served by your webpage and/or your native mobile applications. These tags allow the collection of information by loading objects used for detection into the consumer’s browser. These tags are invisible to the consumer and once loaded, require only 1-2 seconds to gather profiling information. To add device and behavioral data collection do the following:
-
Install the Javascript snippet (below) just before the closing </head> tag on your checkout page at a minimum. Worldpay recommends you place it on all public facing pages to evaluate additional events, such as login, checkout, or other navigation. The script loads asynchronously and does not affect page load time.
<script
defer
type="text/javascript"
id="sig-api"
data-order-session-id="YOUR-SESSION-ID-HERE"
src="https://cdn-scripts.signifyd.com/api/script-tag.js"></script>
-
Replace the data-order-session-id with a unique Session Id for the current user's checkout.. We recommend appending a unique identifier if you need to differentiate sessions between your merchant Ids. The session id can be up to 128 characters in length and contain numbers (0-9), upper or lower case letters (a-z, A-Z), underscores (_)or hyphens (-).
-
Submit the session Id value of your Authorization or Sale transaction, using the <webSessionId> element. Worldpay sends the session Id to Signifyd for incorporation into the fraud evaluation.