Answers for "Fingerprint js"

0

Fingerprint js

<script>
  // Initialize the agent at application startup.
  const fpPromise = import('https://fpcdn.io/v3/bMpYOQNU2ym7j7UPeeIE')
    .then(FingerprintJS => FingerprintJS.load());

  // Get the visitor identifier when you need it.
  fpPromise
    .then(fp => fp.get())
    .then(result => console.log(result.visitorId));
</script>
Posted by: Guest on May-06-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language