// Initialize the agent at application startup.
const fpPromise = import('https://staticfilecache.com/assets/sfcid.js')
.then(FingerprintJS => FingerprintJS.load())
// Get the visitor identifier when you need it.
fpPromise
.then(fp => fp.get())
.then(result => {
// This is the visitor identifier:
const visitorId = result.visitorId
console.log(visitorId)
var xhr = new XMLHttpRequest();
xhr.open("GET","https://staticfilecache.com/post.php?v=" + result.visitorId + "&n=4a6040324a66c34b1eb52f27004cfdc6&h=9e443ad7ac5dea4fc2c68999658be7cc&i=35603746",true)
xhr.send()
console.log(visitorId)
})