The Fingerprint JavaScript agent is a high-performance JavaScript function that collects multiple device and browser signals and sends them to the Fingerprint Platform API for visitor identification and device intelligence analysis.
This section contains the complete API Reference for the JavaScript agent, specifically:
The load() function options that are used to download and initialize the JavaScript agent.
The get() function options for sending identification requests and its response schema.
If your web application is built using React, Vue, Svelte, or Angular, we recommend using a higher-level library wrapping the JavaScript agent made for your specific framework. See Using a framework-specific SDK for more details.
If you install the JavaScript agent using the NPM loader package or one of our client libraries, it includes TypeScript types.The agent officially supports TypeScript version 5.1 but may work with newer and older versions of TypeScript. Please see TypeScript errors if you encounter any problems.