Consent and analytics for the widget
If your site uses a consent manager, pass doNotTrack: true when analytics consent is denied. Chat and other widget features work the same either way. Default is false.
window.rapidflare.init({
apiKey: 'YOUR_API_KEY',
doNotTrack: !hasAnalyticsConsent(), // your consent check
display: {
type: 'floating-launcher',
position: 'bottom-right'
}
});
Implement hasAnalyticsConsent() using your consent manager. You can also delay rapidflare.init() until consent is resolved.
Init-time only
Set doNotTrack in rapidflare.init(), not via ref.update(). If consent changes later, call ref.destroy() and init again.
For a detailed cookie and storage inventory (for consent classification), contact support@rapidflare.ai.