Embedding the Age Verification QR Code on Your Website
Follow these detailed steps to integrate ChainIT ID’s age verification services into your website and ensure compliance with age-restricted access requirements.
1. Access the Configuration Page
In the Admin Portal, navigate to Age Verification > Configuration, and click the Installation Guide button. This will open a popup window.
2. Open the Installation Guide
The popup contains three sections:
-
API Key: A read-only API key (no action needed).
- Place the API Key on your website:
-
- Copy your API key.
- We recommend storing your API key in a secure environment variable on your server to prevent exposure.
- This key should be kept confidential, as it is tied to your specific website and enables communication with ChainIT services.
-
- Place the API Key on your website:
-
Allowed Domains: Add the domains where the QR code will be embedded. This section includes four key fields:
- Authorized domains - To secure the use of your API key, you must specify which domains are allowed to use it. This ensures no unauthorized third party can use your API key on their site.
-
-
Success URL – The page users will be redirected to after successful age verification.
-
Failure URL – The page users will be redirected to if age verification fails.
-
Notification URL – A webhook URL to receive notifications about verification success or failure.
-
Note: The success, failure, and notification URL fields are optional. You can leave them blank if no redirection or notification is needed.
3. Embed the QR Code
Once the configuration is complete, you’re ready to embed the QR code.
-
In the third section of the popup, copy the script snippet and paste it near the footer of your website.
-
Make sure the
<div>
where you want the QR code to appear includes the ID:bit-age-verification-qr
.
4. Test and Implement
Before going live, test your API requests in a staging or test environment to ensure that they function correctly and comply with ChainIT’s age verification process.
5. Go Live
Once testing is successful, deploy the API integration to your live website, allowing visitors to verify their age and access restricted content based on their BeingID level and state regulations.
Ongoing Support
For any issues or questions, refer to the ChainIT support documentation or contact ChainIT’s support team for assistance.
By following these steps, you’ll ensure that your website integrates ChainIT ID’s secure age verification system, keeping your platform compliant with state-specific rules and regulations.