# What we store

## Shopify orders and products

Metryx stores normalized order records: order identifiers and dates, currency, payment status, received amounts, refunds, taxes, shipping, relevant adjustments, product lines and refund lines. Product lines retain identifiers, titles, SKUs, quantities, retained quantities and available Shopify image URLs. Refund lines retain the quantities and restock information needed for costing.

These reporting orders do not contain customer names, email addresses, phone numbers or street addresses. Only supported captured ad and campaign identifiers are retained from order attributes; arbitrary customer-entered attributes are dropped. This does not mean Metryx stores no personal information at all: your Google name and email identify your workspace.

## Costs and calculated reports

Metryx saves the product costs and operating assumptions you enter, their actual or estimated basis, effective dates, notes and revision history. That includes shipping, payment-fee, other-cost and optional returns-reserve assumptions. Saved revisions preserve the history of cost changes.

Daily calculated totals support reporting and carry the cost revision used. If stored totals are incomplete or were calculated under older costs, the report can recompute from the underlying records instead of pretending the old totals are current.

## Meta daily reporting and creative metadata

Metryx stores account-level daily ad spend and separate per-ad daily rows. Per-ad rows include account, campaign, ad-set and ad identifiers and names, spend, impressions, clicks, link clicks, landing page views, pixel purchases and purchase values. Add-to-cart and initiate-checkout counts are nullable: historical rows without those fields remain unknown until reimported.

The import state also retains an allowlisted creative metadata snapshot when available: thumbnail URLs, creative title and body, format, effective status and creation or update timestamps. These are Meta-supplied snapshots, not newly generated creative assets. Missing metadata does not become invented thumbnails or status. The reporting request uses the ad set attribution setting; this is not a promise that every historical daily row stores that setting.

## Workspace and import state

Stored connection and import information includes shop and ad account identity, name, currency, time zone, authorization state, import coverage, cursors, last successful import, errors and scheduling state. Import-run records explain what ran and whether it completed. Webhook and deletion records support lifecycle auditing.

Shopify and Meta access tokens are encrypted before storage. They are not exposed as reporting fields. Hosted data lives in Supabase and is served through Vercel; workspace ownership checks isolate merchant reads.

## Other account information and retention

Billing status and payment-provider references, assisted-setup information, workspace campaign-link attribution, and optional early-access or call requests are separate from imported reporting. Stripe handles card entry; Metryx does not store card details. The [Privacy Policy](/privacy) describes those records and who can access them.

Source disconnect schedules deletion of that source's reporting data within 30 days, unless the same source is reconnected before the purge. Merchant-entered costs and audit records are kept. See [Data deletion](/docs/data-deletion) for the scope and how to request whole-workspace deletion.
