How get the all list of all my Visits ID using fingerprintjs API

409 views Asked by At

I want to count all visits on my site without repeating by device so I'm using this api

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

  // Get the visitor identifier when you need it.
  fpPromise
    .then(fp => fp.get({ linkedId: 'your-linked-id', tag: { yourTag: 123456 }}))
    .then(result => console.log(result.visitorId));
</script>``` 

>I wanna save in my sql system this adress  how can i do that?
 

1

There are 1 answers

1
Martin Makarsky On

What do you mean by adress?

From the given context I assume you could use webhooks or Server API on your backend to persist desired data.