Draft — pending legal review
This text is not final. The fields in [brackets], highlighted below, have not been filled in yet.
Whence — Privacy Policy
Last updated: [DATE]
Whence ("Whence", "we", "us") is a Shopify app operated by [COMPANY LEGAL NAME], [REGISTERED ADDRESS], [COMPANY REGISTRATION / VAT NUMBER] ("the operator"). Whence sends order attribution data from a merchant's Shopify store to the merchant's own Klaviyo account.
Contact for privacy questions and requests: privacy@getwhence.app.
1. Roles
- Merchants (the Shopify stores that install Whence) decide to process their customers' data with Whence. For that data, the merchant is the controller and we act as a processor on the merchant's behalf, following the merchant's instructions as set out in these terms and the [Data Processing Addendum — URL].
- For the data about the merchant's own account (store domain, which Klaviyo account is connected, support conversations) we are the controller.
2. What data Whence processes
From Shopify (scope read_orders)
For each new order, Whence reads:
- the order ID, order number, creation time, total price and currency;
- the order's customer journey summary recorded by Shopify: for the first and last visit, the source, time, landing page URL, referrer URL and UTM parameters (source, medium, campaign, content, term);
- the customer email address, only to identify the customer's profile in the merchant's Klaviyo account.
Whence does not add scripts, pixels or cookies to the storefront. It only reads the visit data that Shopify has already recorded for the order. The merchant is responsible for the store's cookie consent setup, and Whence does not try to obtain visit data in any other way.
Sent to the merchant's Klaviyo account
- An "Attributed Order" event on the customer's profile (identified by email) with the order ID, number, value, currency, the visit data listed above and the AI assistant channel derived from it (for example
chatgptwhen the visit came from chatgpt.com). - Profile properties with the customer's first-touch and last-touch attribution (UTM parameters, landing page, referrer, AI assistant channel).
Landing page and referrer URLs are sent as Shopify recorded them. If a store's own links put personal data in URLs, that data would travel with them.
Stored by Whence
| Data | Purpose | Retention |
|---|---|---|
| Store domain, app settings, Shopify and Klaviyo access tokens (encrypted with AES-256-GCM) | Run the integration | Tokens: deleted when the app is uninstalled (Shopify) or disconnected (Klaviyo). Store record: reduced to domain, status and dates when Shopify sends the shop/redact request, 48 hours after uninstall |
| Klaviyo account ID and name | Show which account is connected | Until disconnection or shop/redact |
| Per-order sync state: order ID, number and time, sync status and error codes, last-touch UTM source/medium/campaign, AI channel | Retries, support, and the order list in the app | 13 months, then deleted (see section 5) |
| Klaviyo profile ID + the IDs and times of the orders holding the profile's first and last touch | Keep first-touch attribution from being overwritten by later orders | While the store is installed; deleted with customers/redact or shop/redact |
| Application logs (store, order and Klaviyo IDs, error codes; no email addresses, names or tokens) | Security, auditing and troubleshooting | 365 days in tamper-proof storage, deleted after 400 days |
Whence never stores customer email addresses, names, postal addresses or phone numbers. The email address is read from Shopify and passed to Klaviyo in the same operation.
Cookies used by Whence itself
Inside the Shopify admin, Whence uses Shopify session tokens and sets no cookies. When an installation starts from Klaviyo's marketplace, Whence sets one strictly necessary cookie (__Host-whence_oauth) for at most 10 minutes. It ties the Klaviyo authorization to the browser that started it, to prevent account-linking attacks.
3. Purposes and legal bases
- Providing the service to the merchant (attribution in Klaviyo): processing on the merchant's instructions, under the agreement with the merchant (GDPR Art. 28). The merchant determines the legal basis for processing its customers' data.
- Security, fraud prevention and audit logs: our legitimate interest in keeping the service and the merchants' accounts secure (GDPR Art. 6(1)(f)).
- Legal obligations: when the law requires it (GDPR Art. 6(1)(c)).
Whence does not sell personal data, does not use it for advertising, does not combine it across merchants and does not use it to train models.
4. Where data is processed and sub-processors
| Sub-processor | Service | Location |
|---|---|---|
| Cloudflare, Inc. | Hosting (Workers), database (D1), queues and log storage (R2) | Database and logs: [REGION — set when the D1 database and R2 bucket are created, e.g. EU]. Requests are handled at Cloudflare's network location closest to the sender |
Shopify and Klaviyo are not our sub-processors: they are services the merchant has chosen, and data moves between them because the merchant connects them through Whence.
Where personal data leaves the European Economic Area, transfers rely on the [EU–US Data Privacy Framework certification / Standard Contractual Clauses] of the sub-processor. [Revisar con asesoría: mecanismo de transferencia de Cloudflare vigente en la fecha de publicación.]
5. Retention and deletion
- Uninstall: Shopify access tokens are deleted immediately. 48 hours later Shopify sends
shop/redact; Whence then revokes its Klaviyo access, deletes the store's order data and the profile references written by its orders, and keeps only a minimal record of the store (domain, status and dates). - Klaviyo disconnection: Whence revokes its access in Klaviyo and deletes the Klaviyo tokens.
- Customer erasure (
customers/redact): Whence deletes the sync state and profile references of the listed orders. - Routine deletion: per-order sync state older than 13 months is deleted, except the order that still holds a profile's first or last touch, which is kept until that profile is deleted or the store uninstalls.
- Logs are kept 365 days, during which they cannot be altered or deleted, and are deleted after 400 days. This retention is a security requirement of the Klaviyo Marketplace.
Data already sent to the merchant's Klaviyo account is under the merchant's control. Deleting it is done in Klaviyo.
6. Data subject rights
Customers of a store should address requests (access, rectification, erasure, objection, portability) to the store they bought from, as controller. Shopify forwards erasure and data requests to Whence, which handles them as described above. Requests sent directly to us are passed on to the merchant concerned, unless we act as controller (section 1).
You can lodge a complaint with your data protection authority, [IF ESTABLISHED IN SPAIN: the Agencia Española de Protección de Datos, www.aepd.es].
7. Security
- Tokens and secrets are encrypted at rest with AES-256-GCM, on top of the database's own encryption, and travel only over TLS.
- Klaviyo is connected through OAuth with PKCE; Whence never asks for API keys.
- Every Shopify webhook is verified with its HMAC signature, and every request from the Shopify admin with a session token.
- Administrative access to the systems requires multi-factor authentication.
- Logs are monitored, and are kept in storage that cannot be modified or deleted for 365 days.
8. Changes
We will publish changes on this page and update the date above. Material changes will be notified to merchants [by email / inside the app] before they take effect.
9. Contact
[COMPANY LEGAL NAME] — privacy@getwhence.app — [REGISTERED ADDRESS] [DATA PROTECTION OFFICER, IF APPOINTED]