Thunder Script is a lightweight, asynchronous snippet (typically added in your site’s <head>) that collects visitor, source, and login attribution data in real time. By embedding a small JavaScript file, Thunder can:
Identify visitors across sessions (durable device/user identifier)
Capture landing (first-visit) context: referrer, UTM parameters, and click IDs
Detect and attribute logins (when you provide customer info in localStorage)
Persist key attribution parameters while gracefully handling browser storage limitations
Consent: Depending on your region (e.g., GDPR, CCPA), configure consent banners and ensure Thunder Script only runs and/or stores identifiers after consent where required.
Data you provide: If you store email and mobile in localStorage.user, Thunder will transmit those values as provided. Consider hashing or tokenizing customer identifiers on your side if required by your policies.
Cookies and storage: Thunder uses SameSite=Lax for cookies and prefers web storage when available.
No sensitive payment data: Thunder does not collect payment details by default.