Skip to main content
Postmark → BigQueryIntegration guide

Connecting Postmark to BigQuery

Postmark sends transactional email — receipts, confirmations, password resets — which means it is a record that a message about a conversion was sent, not a record of the conversion. BigQuery has no attribution model, no deduplication rules and no opinion about your data — which makes it the only destination on this site where every number is exactly as good as the query that produced it. The join between them succeeds or fails on one thing: whether whatever join key you decide on reaches the Postmark message before the conversion happens, because BigQuery can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Postmark delivery data in BigQuery, joined to orders

Stream Postmark delivery, bounce, spam complaint and link click webhooks into a BigQuery table keyed on MessageID, with your order ID added as message metadata at send time. Store events as they arrive given Postmark's retention limit, and deduplicate on MessageID plus event type. Join to orders for missing receipts and bounce rates by source, never revenue.

This is the most useful thing to do with Postmark data. Stream the webhook events, delivery, bounce, spam complaint and link click, into a table keyed on the Postmark MessageID, and include your order ID in the message metadata at send time so every row carries it back. Postmark keeps message activity for a limited period, so check your retention setting and store events as they arrive rather than planning a backfill later.

With the order ID on every row, one join answers questions nobody can answer in Postmark's dashboard: which paid orders never got a receipt, whether a particular campaign brings in customers with bad addresses, and whether hard-bounce rates rise for a traffic source. That last one is a genuine audience-quality signal, and it belongs in the same reconciliation queries as your click IDs.

Keep these rows in their own table. Revenue comes from the orders table and nowhere else; a query that sums values across a union of orders and email events counts each order once for the purchase and again for the receipt. Postmark retries webhooks it could not deliver, so deduplicate on MessageID plus event type before reporting. Nothing from this table should be sent to an ad platform as a conversion.

Postmark → BigQuery · what breaks

Why this join usually fails — Postmark → BigQuery

  1. 01

    Whatever join key you decide on never reaches Postmark

    There is no browser session and no click. A transactional send is a server event about an order that already happened.

  2. 02

    Email opens treated as engagement worth optimizing

    Transactional open rates are high because people want their receipt. Optimizing anything toward them measures how much people like being told their order shipped.

  3. 03

    The warehouse quietly disagreeing with every platform

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  4. 04

    Nothing reconciles afterwards

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

Postmark → BigQuery · the fix

What working looks like — Postmark → BigQuery

  • Whatever join key you decide on on every message

  • Conversions arriving in BigQuery

    The row lands in a table you own, joinable to every other table you own, with no window and no expiry.

  • Reconciled against the source

Postmark → BigQuery · architecture

How Postmark and BigQuery actually connect

  1. 1

    Postmark holds the truth

    The receipt and the order are different objects. Attributing revenue from an email send means your reported revenue depends on your email deliverability, which is not a relationship anyone wants.

  2. 2

    BigQuery needs a click to match

    BigQuery needs a schema and consistent types. The failure mode is not rejection, it is silent divergence: a column that arrives as a string in one load and an integer in the next, or a timestamp in the wrong zone, which produces answers that look plausible and are not.

  3. 3

    The identifier is the bridge

    Whatever join key you decide on, captured at the visit and carried into the Postmark message.

  4. 4

    The event source decides reliability

    Send orders. Delivery and open data belong in an operational report, not a conversion.

  5. 5

    Deduplication at the destination

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

Postmark → BigQuery · normal or broken

Working vs. broken, side by side — Postmark → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the message

  • Sent from your order system

  • Deduplicated correctly

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

  • Reconciles with the source

Actually broken

  • Whatever join key you decide on missing on most records

    There is no browser session and no click. A transactional send is a server event about an order that already happened.

  • Sent from the browser

    Transactional open rates are high because people want their receipt. Optimizing anything toward them measures how much people like being told their order shipped.

  • Counted twice, or not at all

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  • Nobody has reconciled it

Postmark → BigQuery · diagnose

Diagnostic order — Postmark → BigQuery

  1. 01

    Count messages carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm no transactional email event reaches an ad platform

    The right number is zero, and a surprising number of accounts have receipts wired as conversions.

  4. 04

    Reconcile warehouse order counts against each platform for one closed window

    The gaps localize the problem: a gap against all platforms is a collection issue, a gap against one is that platform's window or matching.

  5. 05

    Read the match rate, not the success message

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

Postmark → BigQuery · prove

How it gets proven — Postmark → BigQuery

Source of truth

Your order system. Postmark confirms the receipt went out; it does not know what was bought.

  • Whatever join key you decide on confirmed present on a live message.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Orders reconciled against imported conversions, with transactional email events absent.

Postmark → BigQuery · free audit

What we check in the free audit

  • Count messages carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Confirm no transactional email event reaches an ad platform
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Your order system. Postmark confirms the receipt went out; it does not know what was bought.

Get my free conversion tracking audit

Free30 minutesNo obligation

Postmark → BigQuery · when not to buy

When you don't need this — Postmark → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred messages and count how many carry whatever join key you decide on.
  • Transactional email needs monitoring, not attribution. Watch bounce and delivery rates, and keep it out of the conversion pipeline.
  • If you have one store and one ad platform, a warehouse is infrastructure you will maintain for a reconciliation you could do in a spreadsheet.

Postmark → BigQuery · what we deliver

What gets built — Postmark → BigQuery

  • Identifier capture into Postmark

    Attribute at the order, and use Postmark's delivery data only to confirm the customer was actually told.

  • Event source: your order system

    Send orders. Delivery and open data belong in an operational report, not a conversion.

  • Dispatch to BigQuery

    Streaming inserts or scheduled batch loads from your order system, with the raw event retained alongside whatever you derive from it.

  • Reversals where they exist

    Refunds reverse at the order, not at the email.

Written guarantee

95%+ tracking accuracy

Measured against Your order system. Postmark confirms the receipt went out; it does not know what was bought.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Postmark → BigQuery questions, answered

Point Postmark's webhooks at an endpoint you run, insert each event into a table keyed on MessageID and event type, and include your order ID in message metadata so the rows join to orders.

Free · 30 min

Get Postmark and BigQuery joined properly

Free30 minutesNo obligation