How to Fix Duplicate Subscription Events After Connecting RevenueCat to Airbridge

Stop double-counted trials and renewals after linking RevenueCat to Airbridge. Find SDK, transactionID, and Meta SDK overlap causes and fix them fast.

Airbridge9 min read
How to Fix Duplicate Subscription Events After Connecting RevenueCat to Airbridge

Key Takeaways

  • Primary Culprit—Dual Client + Server Logging: Sending AirbridgeCategory.START_TRIAL, SUBSCRIBE, or UNSUBSCRIBE from the Airbridge SDK while RevenueCat also dispatches TRIAL_STARTED, INITIAL_PURCHASE, TRIAL_CONVERTED, RENEWAL, and CANCELLATION doubles every conversion.
  • Keep Airbridge SDK Active for Attribution: Removing client-side subscription calls does not mean removing the Airbridge SDK—you still need it for install attribution, deep linking, user ID syncing, and passing the Airbridge Device ID to RevenueCat.
  • Check transactionID Validation Rules: Airbridge drops events whose transactionID semantic attribute violates its required string format and truncates values over 1,024 characters, which can break transaction matching and Signal Hold.
  • Eliminate Meta SDK Overlap: If Meta Ads Manager shows twice as many purchases as Airbridge, check Meta Events Manager for Integration: Multiple and facebook_sdk_received_count > 0, then disable event logging in the Meta SDK.
  • Verify in App Real-time Log: After shipping the fix, trigger one sandbox purchase and confirm within 10 minutes that only a single Start Trial or Subscribe row arrives per transaction.

To fix duplicate subscription events after connecting RevenueCat to Airbridge, stop logging Start Trial, Subscribe, and Unsubscribe in your Airbridge client SDK and let RevenueCat send all subscription lifecycle events server-to-server instead. Keep the Airbridge SDK active for installs, app opens, deep links, device ID collection, and upper-funnel events, and disable duplicate purchase logging in any overlapping ad SDK such as the Meta SDK.

Connecting RevenueCat to your MMP is supposed to fix your revenue visibility—not suddenly double your reported MRR overnight. Yet when indie founders and small growth teams plug RevenueCat into Airbridge on top of an existing SDK implementation, the most common symptom is an instant 2x spike in Start Trial and Subscribe counts, inflated ROAS in Actuals Reports, and confused ad-channel bidding algorithms.

Duplicate subscription events almost always trace back to three specific configuration overlaps: client-side SDK logging running alongside RevenueCat webhooks, malformed or mismatched identifiers (transactionID and User ID), or a separate ad-platform SDK such as the Meta SDK reporting the same purchase directly. Here is how to diagnose which one is hitting your workspace and fix it cleanly.

The Three Root Causes of Duplicate Subscription Events

Before touching code, identify where the duplicate row is being created. A duplicate inside Airbridge looks different from a duplicate that only appears inside Meta Ads Manager.

SymptomRoot CauseWhere It Shows UpFix
Every trial or initial purchase appears twice in Airbridge within secondsBoth the Airbridge client SDK and RevenueCat S2S integration send Start Trial / SubscribeAirbridge App Real-time Log and Actuals ReportRemove START_TRIAL, SUBSCRIBE, and UNSUBSCRIBE calls from the Airbridge SDK; keep RevenueCat S2S only
Subscriber user count is inflated even though transaction count looks normalUser ID is not matched between Airbridge SDK and RevenueCat, causing Airbridge to generate a random User IDAirbridge Actuals Report and Revenue Report (unique users)Pass RevenueCat's App User ID into Airbridge.setUserID() before paywall/purchase
Airbridge event counts are accurate, but Meta Ads Manager shows ~2x conversionsMeta SDK auto-logs or manually logs purchases while Airbridge also sends postbacks to Meta AdsMeta Events Manager (Integration: Multiple)Disable event logging in the Meta SDK and send conversion postbacks from Airbridge only
Signal Hold fails to suppress canceled trials, or events vanish silentlytransactionID semantic attribute fails string validation or exceeds 1,024 charactersAirbridge Signal Hold setup and App Real-time LogRely on RevenueCat's native transaction IDs and verify any custom SDK payloads use clean string IDs of 1,024 characters or fewer

Cause 1: Logging Subscriptions in Both the Airbridge SDK and RevenueCat S2S

Most teams integrate the Airbridge SDK first—following the quickstart to log AirbridgeCategory.START_TRIAL, AirbridgeCategory.SUBSCRIBE, and AirbridgeCategory.UNSUBSCRIBE right inside the app's purchase completion callback—and then turn on the RevenueCat integration weeks later to capture background renewals and trial conversions.

When both paths stay active at the same time:

  1. The user taps Subscribe on your paywall.
  2. Your app's client code fires Airbridge.trackEvent(AirbridgeCategory.SUBSCRIBE, ...) immediately.
  3. Seconds later, Apple or Google confirms the receipt with RevenueCat, and RevenueCat fires an S2S INITIAL_PURCHASE webhook mapped to Subscribe in Airbridge.
  4. Airbridge records two separate Subscribe events for the same checkout—doubling your initial subscription count, doubling first-day revenue, and sending inflated conversion signals to Google Ads, Meta Ads, Apple Ads, and TikTok for Business.

Airbridge's official RevenueCat documentation flags this directly: if subscription-related events are imported to Airbridge from a third-party platform (whether RevenueCat, Adapty, or Superwall), configure the Airbridge SDK not to collect those subscription-related events.

Cause 2: transactionID Formatting Errors and the 1,024-Character Rule

Even when teams try to deduplicate or pair transactions across client and server paths, transactionID issues create subtle data bugs in Airbridge:

  • Invalid string format drops events: Airbridge validates the semantic attribute transactionID. If an event is sent with a transactionID that does not match its designated string format (for example, passing an object, array, or non-string payload from a client wrapper), the event is not stored at all.
  • Truncation at 1,024 characters: Any transactionID value longer than 1,024 characters is cut short. If a developer accidentally passes a raw Base64 App Store receipt or an oversized StoreKit/Play Billing token into transactionID, Airbridge truncates it—breaking matching between a conversion event and its cancellation event in Meta Ads Signal Hold, and making cross-checks against RevenueCat transaction logs impossible.

Letting RevenueCat send subscription events server-to-server avoids both pitfalls automatically: RevenueCat attaches clean, standardized store transaction IDs that already satisfy Airbridge's validation rules and work directly with Signal Hold.

Cause 3: Meta SDK Overlap Outside Airbridge

Sometimes your Airbridge Actuals Report is completely clean, yet Meta Ads Manager shows inflated Subscribe or Start Trial numbers and weirdly optimistic ROAS. That happens when the Facebook/Meta SDK installed in your app still has automatic or manual in-app event logging enabled at the same time Airbridge forwards In-app Event Postback events to Meta Ads.

Because Meta receives the purchase from the Meta SDK and receives the attributed postback from Airbridge without a shared deduplication key, Meta double-counts the conversion and trains its bidding algorithm on inflated signal volume.

Step-by-Step Fix: Make RevenueCat Your Single Source of Subscription Events

Follow these four steps to clean up your pipeline without losing install attribution, deep linking, or SKAN performance.

Step 1: Audit and Remove Client-Side Subscription Calls in the Airbridge SDK

Search your mobile codebase (Swift, Kotlin, TypeScript/React Native, or Dart/Flutter) for every call sending subscription categories to Airbridge:

  • AirbridgeCategory.START_TRIAL or 'airbridge.startTrial'
  • AirbridgeCategory.SUBSCRIBE or 'airbridge.subscribe'
  • AirbridgeCategory.UNSUBSCRIBE or 'airbridge.unsubscribe'

Remove those Airbridge.trackEvent(...) calls completely for any SKU managed by RevenueCat. Do not disable or remove the Airbridge SDK itself. Keep the Airbridge SDK initialized at app launch so it continues to handle:

  • Install attribution (including Android Install Referrer and Meta Install Referrer) and session/open events.
  • Direct and deferred deep linking.
  • Upper-funnel standard events like sign-up, sign-in, and onboarding completion.
  • User ID syncing (Airbridge.setUserID()) so RevenueCat S2S events join cleanly to the same user profile.

Step 2: Confirm Device ID and User ID Handoff to RevenueCat

Removing client-side purchase calls only works cleanly if RevenueCat's server-to-server events can attach to the user's Airbridge install record. Confirm both identifiers are wired before a user reaches your paywall:

  1. Pass the Airbridge Device ID to RevenueCat: Fetch the Airbridge Device UUID via Airbridge's SDK fetching API (fetchDeviceUUID) and pass it to RevenueCat via setAirbridgeDeviceID(), alongside collectDeviceIdentifiers() so $idfa, $idfv, $gpsAdId, and $ip are attached.
  2. Match User IDs identically: Call Airbridge.setUserID(appUserId) using the exact App User ID that RevenueCat uses—ideally at sign-up, sign-in, or right after RevenueCat initializes. If Airbridge cannot match the incoming RevenueCat User ID, it creates a random User ID, inflating unique subscriber counts in reports.
  3. Enable server-side SKAN on iOS: If you run iOS campaigns and rely on SKAdNetwork 4.0 conversion values, make sure you are on Airbridge iOS SDK v4.8.0+ (v4.8.1+ recommended) and set calculateSKAdNetworkByServerEnabled to true so RevenueCat's S2S subscription events still drive your SKAN conversion values after client-side purchase logging is removed.

Step 3: Check and Disable Duplicate Meta SDK Event Logging

If you advertise on Meta Ads, verify that the Meta SDK is not logging the same trial or subscription events in parallel:

  1. Open Meta Ads Manager and navigate to Events Manager > Data Sets, then select your app.
  2. Inspect the Integration column for your Start Trial and Subscribe (or Purchase) events. If the value says Multiple, click Export Data.
  3. Open the exported file and compare facebook_sdk_received_count against mmp_received_count. If facebook_sdk_received_count is greater than 0, the Meta SDK is still collecting that event directly.
  4. Disable automatic and manual purchase/subscription event logging inside the Meta SDK, leaving Airbridge as the sole postback source to Meta Ads.

Step 4: Review One-Time IAPs Separately

What if your app sells both auto-renewing subscriptions and one-time non-consumable or consumable in-app purchases? Decide one source per purchase type and never split the same SKU across both:

  • If RevenueCat manages your one-time IAPs: Note that RevenueCat sends NON_RENEWING_PURCHASE as a custom event in Airbridge (which requires the Growth Plan). On the Core Plan, if you want one-time non-subscription purchases tracked as standard Order Complete revenue without duplicating subscriptions, log Order Complete from the Airbridge SDK strictly for non-subscription SKUs and leave NON_RENEWING_PURCHASE off in RevenueCat—never overlap subscription SKUs.

Post-Fix Verification Checklist

Before pushing your fix to production, run a single clean sandbox test on a fresh app install and verify every row in this checklist.

CheckWhere to LookExpected Result
RevenueCat device attributesRevenueCat Customer View$airbridgeDeviceId plus $idfa/$idfv (iOS) or $gpsAdId (Android) are present before purchase
RevenueCat webhook deliveryRevenueCat Customer History & Last dispatched eventsOne successful delivery to Airbridge per sandbox purchase or renewal
Airbridge event countAirbridge App Real-time Log (wait up to 10 minutes)Exactly 1 Start Trial or Subscribe row per test transaction—zero duplicate client SDK rows
Airbridge User ID alignmentAirbridge App Real-time Log event payloadUser ID matches the tester's RevenueCat App User ID
Ad-channel deduplicationMeta Events Manager > Data Setsfacebook_sdk_received_count equals 0; conversions come cleanly from mmp_received_count
Report alignmentAirbridge Actuals Report (near real time)Subscription count matches RevenueCat's sandbox/production test count 1:1

Fixing duplicate events also protects your monthly event allowance. On the Airbridge Core Plan (14-day free trial, then $40+/mo for 500,000 data points/month, $0.0001 per extra data point, no annual lock-in), every duplicate SDK event you stop sending keeps both your ROAS math and your monthly data-point usage clean.

FAQS

Frequently Asked Questions

Does Airbridge automatically deduplicate a client SDK Subscribe event against a RevenueCat S2S Subscribe event?

No—if both the Airbridge SDK and RevenueCat send subscription events for the same purchase, Airbridge records both events and double-counts your conversions. Disable client-side Start Trial, Subscribe, and Unsubscribe tracking in the Airbridge SDK and let RevenueCat send all subscription lifecycle events server-to-server.

Will removing subscription events from the Airbridge SDK break my iOS SKAdNetwork (SKAN) conversion values?

No—as long as your Airbridge iOS SDK is version 4.8.0 or higher (4.8.1+ recommended) and calculateSKAdNetworkByServerEnabled is set to true, Airbridge calculates SKAN conversion values on the server using the S2S events sent by RevenueCat.

Why did my events disappear or fail Signal Hold matching when I passed a receipt into transactionID?

Airbridge rejects any event whose transactionID semantic attribute does not match its required string format and truncates values longer than 1,024 characters. Passing raw store receipts into transactionID causes truncation and breaks event matching, whereas RevenueCat's native S2S integration automatically supplies compact, valid transaction IDs.

How can I tell if Meta Ads Manager is double-counting subscriptions from the Meta SDK and Airbridge?

Open Meta Events Manager > Data Sets, select your app, and check whether the event's Integration column reads Multiple; if it does, click Export Data and check facebook_sdk_received_count and mmp_received_count. Any non-zero facebook_sdk_received_count confirms the Meta SDK is still logging events alongside Airbridge postbacks.

Can I delete historical duplicate events already recorded in Airbridge?

Historical events already ingested into Airbridge reports remain in past date ranges, so note the exact deployment timestamp of your fix and compare cohorts cleanly starting after that release. Going forward, testing in App Real-time Log within 10 minutes of a sandbox purchase ensures no duplicates reach future Actuals or Revenue Reports.