Skip to main content
Today this table contains data from Superfiliate and ShopMy. Support for additional affiliate platforms is on the roadmap. If there is a platform you would like us to integrate with, reach out to your Customer Solutions Engineer.
To calculate a commission rate for any period, recompute it as SUM(commission_amount) / SUM(order_revenue). Never average conversion_commission_rate, which is a single order’s ratio. On real data the average understated the true daily rate by 8.6%.
source_currency is the unit of order_revenue and commission_amount, and it is not the same for every platform. Filter or group by it before summing money across platforms. ShopMy amounts are USD, pre-converted by ShopMy. Superfiliate reports no currency at all, so its amounts are in your store’s own currency and carry an unknown-currency marker.

When to use this table

Use obt_affiliate_conversions when you need affiliate or creator activity at the level of individual orders. Each row is one conversion, which for every current platform is one order. This table replaces rpt_affiliate_performance_daily, which summarized to a daily total per affiliate and in doing so dropped the order identity. Because this table carries sm_order_key, affiliate activity now joins directly to the rest of your warehouse. Common questions this table can answer:
  • Which specific orders did a creator or affiliate drive?
  • What did those customers actually buy, by joining through to order lines?
  • Which affiliates bring in first-time customers rather than repeat buyers?
  • What is the true commission rate for a period, affiliate, or campaign?
  • How long after a creator link click did the order happen? (ShopMy)

Rebuilding the daily affiliate report

Everything the retired rpt_affiliate_performance_daily showed is one aggregation over this table:
Note the commission rate is recomputed from the summed amounts, per the warning above.

Common joins

  • Join to obt_orders on sm_order_key for full order detail, channel, and customer attributes.
  • Join to obt_order_lines on sm_order_key to see what products an affiliate order contained.
  • Compare against rpt_ad_performance_daily on (date, source_system) for cross-channel spend comparison. Affiliate commission appears there as spend.
sm_order_key is NULL when a conversion could not be matched to an order. Read it together with is_new_customer: on an unmatched row, is_new_customer falls back to TRUE rather than being derived, so a NULL key means “assumed new”, not “confirmed new”. Filter on sm_order_key IS NOT NULL when you need only confirmed matches.