omnichannel subscription item to which this offer is applied. Used in the data warehouse to link the offer to its subscription item.introductory (for first-time subscribers; special pricing or terms for the first billing cycle)promotional (available to new and existing subscribers; often limited-time)developer_determined (developer-defined terms; support planned for a future update)fixed_amount (subtracts a fixed amount from the original price)percentage (percentage discount on the original price, e.g., 20% off)price (overrides the original price with a fixed discounted price for the offer term)P1M (1 month) or P7D (7 days). After this duration, regular pricing resumes.discount_type is percentage. Specifies the discount as a decimal percentage value. For example, a value of 12.5 corresponds to a 12.5% discount.price_units to determine the total price (for example, $10.50). Depending on the discount type, it indicates the amount deducted (fixed_amount) or the final amount payable (price).fixed_amount discount, it indicates the amount deducted from the original price; for a price discount, it reflects the final amount payable by the customer.free_trial (customer not charged during the trial period; regular billing thereafter)pay_up_front (fixed upfront payment for a defined period, often at a discount)pay_as_you_go (recurring discounted price per billing cycle over multiple renewals)
Counts offers applied to omnichannel subscription items, grouped by source and offer category.
Useful for analyzing introductory and promotional offer adoption across
apple_app_store and google_play_store.
SELECT
os.source AS channel,
osio.category AS offer_category,
COUNT(osio.id) AS offer_count
FROM
omnichannel_subscription_item_offers osio
JOIN omnichannel_subscription_items osi ON osio.omnichannel_subscription_item_id = osi.id
JOIN omnichannel_subscriptions os ON osi.omnichannel_subscription_id = os.id
GROUP BY
os.source,
osio.category
ORDER BY
channel,
offer_count DESC;