Email/SMS Table
email_sms_table
The Email/SMS table tracks email and SMS campaign and flow performance across all connected providers. One row per message entity per day.
Table GuideWhat You Can Answer With This Table
- How are my email campaigns performing? — use
opened,clicks,conversion_value, group bycampaign_name- Which automation flows drive the most revenue? — use
conversion_value,purchases, group byflow_name- How do email and SMS channels compare? — group by
channel_type- Which provider generates the most engagement? — group by
channel- How is my subscriber list growing or shrinking? — use
subscribed_to_list,unsubscribed- Which flow triggers generate the most conversions? — group by
flow_trigger_metric_nameBefore You Query
- Required field:
event_date- Subscriber metrics (
subscribed_to_list,unsubscribed) are not tied to a specific campaign —campaign_idwill be NULL for these rows.Key Relationships
Table Join Key What the Join Enables Email/SMS Settings message_idMessage configuration and content details (subject lines, send settings, per-message delivery stats) When to Use a Different Table
- Need Triple Whale-attributed revenue from email/SMS campaigns → Pixel Joined table. Email/SMS only has channel-reported conversions; Pixel Joined combines email/SMS data with pixel attribution to show which messages actually drove purchases.
- Need to compare message content (which subject lines or templates perform best) → Email/SMS Settings table. Settings has per-message content and delivery stats in one place, without needing to join.
Dimensions
Dimensions are immutable properties that can be used for grouping data.
Title | ID | Type | Description |
|---|---|---|---|
Event Hour |
| string | The hour of the day the email/SMS action (e.g. sent, opened, received) occurred, according to a 24-hour clock. Based on the shop time zone at the moment of the event (or the user time zone, if no sales platform is connected). Example values: |
Event Date |
| date | The date the email/SMS action (e.g. sent, opened, received) occurred. Based on the shop time zone at the moment of the event (or the user time zone, if no sales platform is connected). |
Event Day |
| date | The day the email/SMS action occurred. Derived from |
Event Week |
| date | The Sunday of the week during which the email/SMS action occurred. Derived from |
Event Month |
| date | The month during which the email/SMS action occurred. Derived from |
Event Quarter |
| date | The first month of the quarter during which the email/SMS action occurred. Derived from |
Event Year |
| date | The year during which the email/SMS action occurred. Derived from |
Campaign ID |
| string | The unique ID of the email/SMS campaign, assigned by the email/SMS platform. |
Campaign Name |
| string | The name of the email/SMS campaign. |
Campaign Status |
| string | The status of the campaign associated with the email/SMS. |
Channel |
| string | The platform used to send email/SMS. |
Messaging Channel Type |
| string | The messaging channel used to deliver the communication. Example values: |
Flow Action ID |
| string | The unique ID for a specific action within an automation flow. Assigned by the email/SMS platform. |
Flow Action Name |
| string | The name of the specific action within an automation flow. |
Flow Action Status |
| string | The status of a specific action within an automation flow. |
Flow ID |
| string | The unique ID for the automation flow. Assigned by the email/SMS platform. |
Flow Name |
| string | The name of the automation flow. |
Flow Status |
| string | The status of the automation flow. |
Flow Trigger Is Triple Whale |
| boolean | True if the flow was triggered by a Triple Whale (Sonar) metric or event. Possible values: |
Flow Trigger Metric ID |
| string | The ID of the metric or event that triggered the flow. Example value: |
Flow Trigger Metric Name |
| string | The name of the metric or event that triggered the flow. Example values: |
Flow Trigger Organization |
| string | The platform where the flow trigger originated. Example values: |
Flow Trigger Sonar Enabled |
| boolean | True if Sonar is enabled for this flow trigger. Possible values: |
Message ID |
| string | The unique ID for the individual message sent as part of a campaign or flow. Assigned by the email/SMS platform. |
Message Name |
| string | The name of the individual message sent. |
Report Type |
| string | The type of report generated. |
Shop ID |
| string | The unique ID of the shop (often corresponds to the shop domain). Can be used to group or filter data by shop in multi-store reports. Example values: |
Shop Name |
| string | The name of the shop. Can be used to group or filter data by shop in multi-store reports. Example values: |
Measures
Measures are numeric fields that can be aggregated and/or combined to calculate new metrics.
Title | ID | Type | Description | Source |
|---|---|---|---|---|
Clicks |
| numeric | The total number of unique clicks on links within the email/SMS. | Klaviyo |
Channel-Reported Conversion Value |
| numeric | Revenue generated from channel-reported conversions (purchases). | Klaviyo, Yotpo |
Delivered Messages |
| numeric | The total number of messages successfully delivered to the targeted recipient. | Yotpo |
Opens |
| numeric | The total number of unique email opens. | Klaviyo |
Channel-Reported Conversions (Purchases) |
| numeric | Number of channel-reported conversions (purchases). | Klaviyo, Yotpo |
Received Messages |
| numeric | The total number of email messages successfully received by the target audience. | Klaviyo |
Sent Messages |
| numeric | The total number of messages sent. Note: Applicable to Klaviyo SMS, Yotpo Email, and Yotpo SMS; does not include data for Klaviyo email. | Klaviyo, Yotpo |
Ad Spend |
| numeric | Channel-reported ad spend, excluding any custom expenses marked as ad spend. | Yotpo |
Subscribed Recipients |
| numeric | The total number of recipients subscribed to any email/sms list. Not associated with a specific campaign ( | Klaviyo, Yotpo |
Unsubscribed Recipients |
| numeric | The total number of recipients who unsubscribed from any email/sms list as a result of the campaign. | Klaviyo, Yotpo |
Updated 1 day ago