findmentor-network / analytics

We want to create a new-gen analytics platform for developers to developers. This project's aim is a one-click analytics solution for open-source projects & more.
https://analytx.dev/
MIT License
18 stars 6 forks source link

Clientside canvas fingerprint #5

Closed cagataycali closed 3 years ago

cagataycali commented 3 years ago

We have to get canvas fingerprint from browser & send via fetch request on clientside script:

const fingerprint = 'demo'

fetch("http://localhost:3000", {
  method: "POST",
  headers: {
    Accept: "application/json",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ href: window.location.href, fingerprint }),
});
cagataycali commented 3 years ago

Resolved.