Fingerprint is a device intelligence platform offering 99.5% accurate visitor identification.
Fingerprint Pro Vue SDK is an easy way to integrate Fingerprint Pro into your Vue 2 application. It supports all capabilities of the Fingerprint JavaScript agent and provides a built-in caching mechanism.
Register the plugin in your Vue application. Set a region if you have chosen a non-global region during registration. Set endpoint and scriptUrlPattern if you are using one of our proxy integrations to increase the accuracy and effectiveness of visitor identification.
//nuxt.config.jsimport path from'path';
exportdefault {
// Load our plugin, ".client" suffix ensures that it is only loaded on client side.plugins: ['~/plugins/fingerprintjs.client.ts'],
// Other configurations...
};
You can find detailed documentation in the API reference.
Caching strategy
Fingerprint Pro usage is billed per API call. To reduce API calls, it is a good practice to cache identification results. The SDK uses SessionStorage to cache results by default.
:warning: WARNING If you use data from extendedResult, please pay additional attention to caching strategy.
Some fields from the extendedResult (e.g ip or lastSeenAt) might change for the same visitor. If you need to get the current data, it is recommended to pass ignoreCache=true inside getVisitorData or getVisitorDataExtended functions.
Support and feedback
To ask questions or provide feedback, use Issues. If you need private support, please email us at oss-support@fingerprint.com. If you'd like to have a similar Vue wrapper for the open-source FingerprintJS, consider creating an issue in the main FingerprintJS repository.
Examples
You can find the following examples in the examples directory:
The npm package @fingerprintjs/fingerprintjs-pro-vue-v2 receives a total of 454 weekly downloads. As such, @fingerprintjs/fingerprintjs-pro-vue-v2 popularity was classified as not popular.
We found that @fingerprintjs/fingerprintjs-pro-vue-v2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 2 open source maintainers collaborating on the project.
Package last updated on 11 Oct 2023
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.