Pixel Orders Table
pixel_orders_table
The Pixel Orders table enriches individual orders with attribution context from Triple Whale Pixel, showing which ads, campaigns, and channels contributed to each purchase. One row per order.
Table GuideWhat You Can Answer With This Table
- Which channels or campaigns are driving purchases? — group by
channelorcampaign_id- What purchases are tied to specific ads? — use
ad_id,adset_id, orcampaign_id- What is the acquisition path for a specific order? — combine
click_date,click_ts,landing_page,session_id- How does revenue break down by new vs. returning customers? — use
is_new_customerwithchannelBefore You Query
- Required field:
event_date- Triple Attribution model and Lifetime attribution window are applied by default.
- Querying without attribution-level grouping (
channel,ad_id,adset_id, orcampaign_id) may produce duplicated or inflated values, especially with multi-touch models. Fields likeorder_quantityandorder_revenuecan contain duplicates across rows. To avoid this, use the Last Click model or query the Orders table instead.- The Total Impact model is not available on this table (it is an aggregated model that cannot be applied per-order).
Key Relationships
When to Use a Different Table
- Need non-duplicated order totals (total revenue, total orders) → Orders table. Orders is the canonical transactional record for revenue truth, fulfillment, and financial reporting.
- Need ad-level aggregated performance (spend, impressions, ROAS by campaign) → Pixel Joined table. Pixel Joined aggregates at the ad level; Pixel Orders preserves individual order records.
- Need onsite shop order counts (Meta Shop, TikTok Shop) → results may differ between this table and Pixel Joined. Pixel Joined order data comes from the shop platform and onsite channel shops. Pixel Orders also includes onsite purchase data but only at the channel level, which can cause different order counts due to channel-reported orders (e.g. organic orders) tracked in Pixel Orders but not Pixel Joined.
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 order was placed, 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 order was placed. 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 on which the event occurred. Derived from |
Event Week |
| date | The Sunday of the week during which the event occurred. Derived from |
Event Month |
| date | The month during which the event occurred. Derived from |
Event Quarter |
| date | The first month of the quarter during which the event occurred. Derived from |
Event Year |
| date | The year during which the event occurred. Derived from |
Ad Account ID |
| string | The unique ID for the ad account associated with the ad. Assigned by the ad platform. Example values: |
Ad ID |
| string | The unique ad ID. Assigned by the ad platform. Example value: |
Ad Name |
| string | The name of the ad. Example values: |
Ad Set ID |
| string | The unique ID for the ad set associated with the ad click. Assigned by the ad platform. Example value: |
Ad Set Name |
| string | The name of the ad set within a campaign. Example values: |
Attribution Window |
| string | The time frame for attributing conversions to the ad. By default Example values: Note: |
Billing City |
| string | The city of the customer's billing address. Example value: |
Billing Country |
| string | The full name of the customer's billing country. See list of countries. Example values: |
Billing Country Code |
| string | The country code of the customer's billing address. See list of countries. Example values: |
Billing State |
| string | The state or province of the customer's billing address. Example values: |
Web Browser |
| string | The web browser of the session where the order originated. Example values: |
Campaign ID |
| string | The unique ID for the marketing campaign associated with the ad. Assigned by the ad platform. Example values: |
Campaign Name |
| string | The name of the marketing campaign associated with the ad. Example values: |
Campaign Type |
| string | The type of campaign. Example values: |
Cancelled Date |
| timestamp | The time at which the order was canceled. Formatted according to the ISO 8601 international standard . NULL if the order was not canceled. \n \nExample value: |
Channel |
| string | The platform through which the ad was delivered. Example values: |
Click Date |
| date | The date the ad was clicked. Based on the shop time zone at the moment of the click. Example value: |
Click Timestamp |
| timestamp | The time at which the ad was clicked. Formatted according to the ISO 8601 international standard. Example value: |
Order Created Date |
| timestamp | The time at which the order record was created. Formatted according to the ISO 8601 international standard. Example value: |
Order Currency |
| string | The original currency of the order, before conversion to the shop's currency. All monetary values are automatically converted to the shop's selected currency for display. Example values: |
Customer Email |
| string | The customer's email address. Example value: |
Customer First Name |
| string | The customer's first name. Example value: |
Customer City |
| string | The city of the customer's shipping address. Example value: |
Customer Country |
| string | The country code of the customer's default address. See list of countries. Example values: |
Customer Country Name |
| string | The full name of the customer's country. See list of countries. Example values: |
Customer State |
| string | The state or province of the customer's shipping address. Example value: |
Customer ID |
| string | The unique identifier for the customer, assigned by the main sales platform. Example value: |
Customer ID Key |
| string | Join key for connecting this table to the Customers table. May contain either Example values: |
Customer Last Name |
| string | The last name of the customer. Example value: |
Customer Tags |
| repeated string | Tags associated with the customer, set in the main sales platform. Example values: |
Device |
| string | The type of device used by the visitor for the session. Example values: |
Discount Code |
| string | The discount code or promotion name used in the order. Set by the seller in the main sales platform. Example values: |
Fulfillment Status |
| string | The fulfillment status of the order. Example values: |
Is First Order in Subscription |
| boolean | True if the order is the first in a subscription series. Possible values: |
Is New Customer |
| boolean | True if this is the customer's first order. Possible values: |
Is Subscription Order |
| boolean | True if the order is part of a subscription. Possible values: |
Landing Page |
| string | The URL path (without query parameters) of the page the visitor landed after clicking on an ad or link, indicating the first page viewed in a session. Example value: |
Attribution Model |
| string | The attribution model used. By default Possible values: Note that |
Order ID |
| string | The unique order ID, assigned by the main sales platform. Example value: |
Order Name |
| string | The name of the order as assigned by the seller on the main sales platform. Example values: |
Sales Platform |
| string | The sales platform where the order was processed. Example values: |
Products |
| record repeated | Details about the products associated with the order (at the level of the variant), including name, product ID, variant ID, type, SKU, etc. Returns the latest product information, not necessarily the data at the time the order was placed. |
Product ID |
| string | The unique ID of the product as set within the main sales platform. Example value: |
Product Name |
| string | The name of the product as set within the main sales platform. Example values: |
Product Vendor |
| string | The vendor of the product as set within the main sales platform. Example values: |
Product Type |
| string | The product type as set within the main sales platform. Example values: |
Product Tags |
| repeated string | Tags associated with the product, set in the main sales platform. Example values: |
Product SKU |
| string | The SKU (Stock Keeping Unit) for the product as set within the main sales platform. Example values: |
Product Variant ID |
| string | The unique ID for a specific variant of a product as set within the main sales platform. Example value: |
Is Gift Card |
| boolean | True if the product purchased is a gift card. Possible values: |
Product Properties |
| record repeated | Custom key–value properties attached to the product line item (e.g., personalization details, bundle metadata, app-specific fields). |
Product Property Name |
| string | The name or key of the product property. |
Product Property Value |
| string | The value assigned to the product property. |
Product Duties |
| record repeated | Import duties or tariffs applied to the product. |
Product Duty ID |
| string | The unique identifier of the duty applied to the product. |
Product Duty Tax Lines |
| record repeated | Tax lines charged on the product duty. |
Product Duty Tax Line Amount |
| numeric | The tax amount charged on the product duty per tax line. |
Product Duty Amount |
| numeric | The monetary amount of duty charged for the product.' |
Product Price |
| numeric | The price of a single product (to the buyer). |
Total Product Discount |
| numeric | The amount discounted from the product price, before taxes. By default shown in the shop's currency. |
Net Product Discount |
| numeric | The amount discounted from the product price, after taxes. By default shown in the shop's currency. |
Product Units Sold |
| numeric | The total number of individual units sold for the product. |
Product Cost |
| numeric | The cost of a single product (to the seller). |
Session City |
| string | The city of the session where the order originated. Example values: |
Session Country |
| string | The country of the session where the order originated. See list of countries. Example values: |
Session ID |
| string | The unique session ID assigned by Triple Pixel. Note: Only sessions with an order are included in the Pixel Orders table. For data on all sessions, use the Sessions table. Example value: |
Shipping City |
| string | The city of the shipping address. Example value: |
Shipping Country Code |
| string | The country code of the shipping address. See list of countries. Example values: |
Shipping Country Name |
| string | The full name of the shipping country. See list of countries. Example values: |
Shipping State |
| string | The province or state of the shipping address. Example value: |
Shipping State Code |
| string | The province or state code of the shipping address. Example value: |
Shipping Zip Code |
| string | The zip/postal code of the customer's shipping address. Example values: |
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: |
Shop Timezone |
| string | The designated timezone of the shop according to the . |
Source |
| string | The origin of the order as designated by the seller on the main sales platform. Example values: |
Tags |
| repeated string | Tags associated with the order, assigned by the seller in the main sales platform. Example values: |
Triple Pixel ID |
| string | The unique ID assigned by Triple Pixel to track visitors across sessions. Example value: |
UTM Medium |
| string | The UTM medium parameter captured by Triple Pixel from the ad URL Example values: |
UTM Source |
| string | The UTM source parameter captured by Triple Pixel from the ad URL. Example values: |
Measures
Measures are numeric fields that can be aggregated and/or combined to calculate new metrics.
Title | ID | Type | Description |
|---|---|---|---|
Cost of Goods (COGS) |
| numeric | The cost of goods for Pixel-reported purchases within the selected time frame (before refunds). Imported from the main sales platform, or edit these in Cost Settings > Cost of Goods. Note that COGS for Pixel data is set at attribution time and does not get updated subsequently, so may vary from COGS in the Orders table. |
Currency Rate |
| numeric | The rate used to convert monetary values to the shop's currency. If no conversion was applied, the value is |
Order-Level Custom Expenses |
| numeric | Additional custom expenses associated with individual orders. Import these using the Enrich Orders Data API endpoint. |
Custom Gross Profit |
| numeric | Custom gross profit for individual orders. Import using the Enrich Orders Data API endpoint. |
Custom Gross Sales |
| numeric | Custom gross sales for individual orders. Import using the Enrich Orders Data API endpoint. |
Custom Net Revenue |
| numeric | Custom net revenue for individual orders. Import using the Enrich Orders Data API endpoint. |
Custom Orders Quantity |
| numeric | The custom-defined quantity of orders to count for the single Possible values: Import using the Enrich Orders Data API endpoint. |
Custom Total Items |
| numeric | The custom-defined total number of items in the order. Import using the Enrich Orders Data API endpoint. |
Discounts |
| numeric | The total discount amount applied to the order, including shipping discounts. |
Product Discount Amount |
| numeric | The total product discount amount applied to the order. |
Shipping Discount Amount |
| numeric | The total shipping discount amount applied to the order. |
Gross Sales |
| numeric | Gross sales revenue (before shipping, taxes, discounts, or refunds). Gross Sales = Product Price x Units Sold |
Handling Fees |
| numeric | Handling fees (e.g. boxing, packaging, or “pick & pack” services) paid by the seller for orders in the selected time frame. Edit these in Cost Settings > Cost of Goods. |
Order Revenue |
| numeric | Revenue earned after shipping, taxes, and discounts (before refunds). Order Revenue = Gross Sales + Shipping + Taxes − Discounts |
Pixel Purchases |
| numeric | The total number of Pixel-reported purchases (orders) within the selected timeframe. Note: This value is calculated based on the attribution model, and may be a fractional number. |
Payment Gateway Costs |
| numeric | Payment processing fees (not including currency conversion fees) paid by the seller. Edit these in Cost Settings > Gateway Costs. |
Units Sold |
| numeric | The total number of individual product units sold in the order. |
Refunds |
| numeric | Total amount returned to customers for refunded sales, refunded taxes, and refunded shipping. Calculated based on the order date. Note that Triple Whale does not track refunds from third-party return management apps (e.g., Loop), so totals may vary from the sales platform. Refunds = Refunded Sales + Refunded Shipping + Refunded Tax |
Shipping Costs |
| numeric | Shipping costs paid by the seller for orders within the select timeframe. Edit these in Cost Settings > Shipping. |
Shipping Price |
| numeric | The total shipping price of the order, including shipping taxes and shipping discounts. |
Taxes |
| numeric | Amount customers paid in taxes (excluding refunded taxes). |
Derived
Derived fields are metrics that are pre-calculated using multiple measures or advanced formulas.
Title | ID | Type | Description |
|---|---|---|---|
Pixel Average Order Value |
| formula | The Pixel-reported average order value. Pixel AOV = Pixel Conversion Value / Number of Pixel Purchases |
| formula | The average order revenue per customer, for orders placed within the selected timeframe. LTV = Order Revenue / Unique Customers | |
Pixel New Customer Purchases |
| formula | The total number of orders placed by new customers within the selected time frame. |
Pixel New Customer Revenue |
| formula | The total revenue derived from orders by new customers. |
Pixel New Customers Percent |
| formula | The percentage of Pixel-reported purchases made by new customers. Pixel New Customers % = Number of New Customer Pixel Purchases / Total Pixel Purchases |
Non-Zero Pixel Purchases |
| formula | The total number of Pixel-reported purchases with a revenue greater than zero. Non-Zero Pixel Purchases = Count of Pixel Purchases where Order Revenue > $0 |
Pixel Returning Customer Purchases |
| formula | Number of Pixel-reported orders placed by Returning Customers. |
Pixel Returning Customer Revenue |
| formula | Pixel-reported conversion value (order revenue) derived from Returning Customers. |
Pixel Returning Customers Percent |
| formula | The percentage of Pixel-reported purchases made by Returning Customers. Pixel New Customers % = Number of Returning Customer Pixel Purchases / Total Pixel Purchases |
Pixel True Average Order Value |
| formula | The average non-zero order value (before shipping or taxes), as reported by the sales platform. True AOV = (Order Revenue - Shipping Price - Taxes) / Number of Orders > $0 |
Unique Customers |
| formula | Number of unique customers who placed orders within the selected timeframe. |
Updated about 13 hours ago