Setup Legal Documents (optional)
To prompt users to review and accept your policies, like Terms and Conditions, Privacy Policy, or Cookie Policy, VeChainKit offers a simple plug-and-play solution.
You can avoid building your own if you haven't already.
By enabling also the tracking consent, you will allow VeChainKit to prompt your users to collect data to improve the kit.
When the legalDocuments option is configured, the users will see:
Left: A modal prompt when connecting their wallet, requiring them to review and accept required and optional legal documents.
Right: A summary view under
Settings > General > Terms and Policies, showing which policies they’ve accepted and when.

Important
Legal document agreements are tied to the wallet address, document type, document version, and the url.
If the
versionof any document is updated, users will be prompted to accept it again.Agreements are stored in the browser’s local storage, meaning acceptance is per browser and device.
As a result, users may be prompted again if they switch browsers, devices, or clear their local storage even if they've previously agreed on another setup.
Key Options
allowAnalytics
boolean
No
If true, prompts users with an optional tracking policy.
cookiePolicy
array
No
One or more cookie policy versions.
privacyPolicy
array
No
One or more privacy policy versions.
termsAndConditions
array
No
One or more T&C versions.
Last updated
Was this helpful?