sm_customer_key | STRING | Stable SourceMedium customer key. Unique per customer. Key joins: dim_customers (1:1); dim_orders/obt_orders (1:many). Platform caveat: TikTok Shop coverage may be limited. |
sm_store_id | STRING | SourceMedium’s unique store identifier. For Shopify stores, derived from the myshopify.com domain; for other platforms (Amazon, TikTok Shop, Walmart.com), uses platform-specific identifiers. |
customer_address_city | STRING | City from customer’s primary address (free-form). Coverage varies by source_system. Amazon coverage is high in practice (see the per-workspace floor on the test below), but individual rows can be NULL or obfuscated. |
customer_address_country | STRING | Country from customer’s primary address (platform-reported names). Coverage varies by source_system. Amazon coverage is high in practice (see the per-workspace floor on the test below), but individual rows can be NULL or obfuscated. |
customer_address_province | STRING | The province, state, or district code of the customer’s location. |
customer_address_zip_code | STRING | The postal code of the customer’s location. |
customer_created_at | TIMESTAMP | UTC timestamp when the customer was created. NULL for Amazon and Medusa customers, which are derived from orders because those sources expose no customer account, so a date filter on this column excludes them. Shopify customers the customer API does not return are derived from orders too and dated by their first order. |
customer_email | STRING | Customer email address (PII); see customer_email_hashed for privacy‑safe matching. |
customer_email_hashed | STRING | SHA-256 hash of customer email address. Used for privacy-safe customer matching and analytics across systems without exposing PII. |
customer_first_name | STRING | Customer’s first name as provided during account creation or checkout. May be null for guest checkouts or incomplete registrations. |
customer_first_order_id | STRING | The ID of the customer’s first order: the order with order_index = 1 in obt_orders, ordered by processed time (the original purchase time, including for imported order history), then created time, then order ID. |
customer_id | STRING | The ID of the customer who placed the order. |
customer_last_name | STRING | Customer’s last name as provided during account creation or checkout. May be null for guest checkouts or incomplete registrations. |
customer_last_order_id | STRING | The ID of the customer’s most recent order: the order with order_index_reversed = 1 in obt_orders, using the same ordering as customer_first_order_id. |
customer_phone_number | STRING | Customer’s phone number in platform-provided format (varies by source_system). May be NULL if not collected; formatting and country codes not standardized. |
customer_street_address | STRING | The customer’s street address. |
customer_tags_csv | STRING | Comma-separated list of all tags associated with a customer. Use for simple filtering; beware that individual tag values may contain commas. |
customer_updated_at | TIMESTAMP | UTC timestamp when the customer was last modified. |
has_customer_consented_to_marketing | BOOL | Whether the customer has consented to receive marketing communications. |
is_customer_email_verified | BOOL | Whether the customer’s email has been verified. |
marketing_profile_created_at | TIMESTAMP | When this customer first appeared as a marketing profile (Klaviyo today), matched by email: the earliest creation time among the profiles we hold for that email. It is the earliest observed match; a feed that is still catching up can hold a later one only. Imports and the first sync after a store connects Klaviyo stamp that sync date. NULL when no profile matched, when the store sends us no profile data, or when the customer cannot be matched by email (a platform without a plain email, such as Amazon, or no email on file). |
marketing_profile_timing_at_first_order | STRING | Whether the customer was in the brand’s marketing audience before their first valid order. lead_before_order: a profile existed at least an hour earlier. captured_at_order: the profile was created within an hour of the order, almost always the checkout webhook. A popup signup in that same hour cannot be told apart from checkout: profile source and consent fields are last-write and the order overwrites them, and no form-submit events are landed (measured 2026-10-04). captured_after_order: the profile was created later. no_marketing_profile: no profile matched as of the store’s coverage date. A store whose profile feed is frozen keeps that date, so later orders are NULL here until the feed resumes. NULL when it cannot be known: the store has no profile data, the customer cannot be matched by email, or the order is newer than the profile data. |
source_system | STRING | Originating platform for the record (e.g., Shopify, Amazon, TikTok Shop, Chargebee). Used for platform‑specific behavior and coverage. |
subscriber_created_at | TIMESTAMP | The autogenerated date and time when the subscriber was created. |
subscriber_id | STRING | The customer’s identifier on ReCharge, Chargebee, or Stay AI when that integration is connected. NULL when those platforms have no subscriber record for the customer. Skio and Loop subscriptions are not stored here. When more than one record matches, this is the most recently updated one. |
subscriber_status | STRING | Subscription standing from the subscribers union. Recharge maps Recharge’s own has_payment_method_in_dunning, gated on having an active subscription. Chargebee adds Trial (any in-trial subscription, and only when none are active). Stay AI is Active/Inactive only: its subscription-level dunning flag is not rolled up here. NULL means the customer is not a subscriber, not that status is unknown (most rows). subscriber_status != 'Inactive' drops every non-subscriber. Filter for the value you want. Legacy subscription_master and the executive summary use this same Recharge flag. The v2 subscription reports still infer dunning from recent charge failures and therefore count more people. Use this column for current standing; use the v2 reports for the recency time series. |
subscription_source_system | STRING | The platform for that subscriber record: ReCharge, Chargebee, or Stay AI. NULL when those platforms have no subscriber record for the customer. Skio and Loop are not included. |