Skip to content

Security & data handling

Keys, signatures, tenant isolation and the personal data the tracking pipeline touches.

Keys

  • Publishable keys (pk_…) identify a website for the SDK. They are public, accepted only from the website's own origin and can only record clicks and analytics events.
  • Secret keys (sk_live_…, sk_test_…) are shown once, stored as SHA-256 hashes, scoped (for example conversions:write), rate-limited (600 requests/minute) and can expire. Rotate a key to issue a replacement and revoke the old one immediately.

Tenant isolation

Every request runs inside a database transaction bound to one organisation: the data layer refuses reads and writes outside it, in addition to explicit filters in the application. A key for one workspace can never read or write another workspace's data.

Personal data

IP addresses are stored only as keyed hashes; customer_id and customer_email are hashed on arrival and used solely for repeat-customer attribution and self-referral checks. The API never returns affiliate contact details. Tracking data is purged after the workspace's retention period, except clicks that support a financial record.

Redirect safety

Tracking links redirect only to destinations on the program's allow-list (scheme, host and path prefix). The allow-list is checked again at every redirect, so a link can never be turned into an open redirect.