Overview
Connect Meta Ads to send installs, registrations, purchases, and custom app events from Linkrunner to Meta. Use this guide to connect your Meta app and ad account, configure Conversions API, and map the events Meta should receive.What You’ll Get
- Automatic attribution tracking — Track installs and conversions from your Meta ad campaigns
- View-through attribution — Attribute installs from users who viewed but didn’t click your ads (setup required)
- Event mapping — Map your in-app events to Meta events for postback conversion tracking
- Revenue tracking — Share revenue data with Meta to optimize for value
- Default events included — App Install events and Sign up events are captured automatically
Setup Process
Setting up Meta Ads integration involves configuring your Meta app credentials, mapping events, and setting up conversion tracking in Meta Events Manager.1. Configure Meta App Integration
This process connects your app and Meta ad account with Linkrunner.Step 1: Get Your Meta App ID
- Go to Meta for Developers
- Navigate to your App Dashboard
- Go to Settings → Basic
- Copy your App ID
Step 2: Get Your Referrer Decryption Key
- In the same App Dashboard under Settings → Basic
- Scroll down to the Android section
- Copy the Install Referrer Decryption Key
The Install Referrer Decryption Key is required for Android attribution tracking. Make sure you have this configured
in your Meta app settings.
Step 3: Configure in Linkrunner Dashboard
- Go to Meta App Integration
- Enter your App ID in the designated field
- Enter your Referrer Decryption Key
- Click Save
Step 4: Connect Meta Ad Account
- Go to Ad Account Integration
- Click Add Meta Account
- Log in with Meta and connect your ad account
Step 5: Configure CAPI
- Click Configure CAPI for the connected ad account
- Enter the Dataset ID from Meta Events Manager
- Enter the CAPI Access Token from Meta Events Manager → Settings → Conversions API
- Click Save
2. Set Up Event Mapping
Map your app events to Meta events so Linkrunner can send postback conversions.MobileAppInstall and CompleteRegistration are sent to Meta by default. You do not need mappings for these
events.
- Go to Meta Ads Event Mapping
- Click Add Mapping
- Select your event under Your Events
- Select the matching Meta Ads Event
- Turn on Send Revenue only for revenue events, then choose the Currency
- Click Save
- Click the paper plane Send to ad network icon to fire a test event
After Linkrunner fires an event, it can take up to 1 hour to appear in Meta Events Manager.
3. Configure Events in Meta Events Manager
Use Meta Events Manager to verify that Meta receives events from Linkrunner.- Go to Meta Ads Dashboard
- Open Events Manager → Datasets
- Select your app dataset, or click Create Dataset
- Go to Settings → Conversions API and confirm the dataset can receive Conversions API events
- Open the Events tab to view events from Linkrunner
- Create custom conversion events for the events you want to optimize campaigns on
If events do not appear in Meta Events Manager after 1 hour, verify your App ID and Referrer Decryption Key are
correct.
4. Campaign Tracking
Once your integration is configured, Meta ad campaigns will automatically appear on the Linkrunner Dashboard as they go live.Automatic Campaign Detection
- No manual setup required — Campaigns are detected automatically
- Real-time tracking — See campaign performance as soon as ads start running
- Attribution data — Track installs, events, and revenue back to specific campaigns
Viewing Campaign Data
- Go to your Linkrunner Dashboard
- Navigate to the Campaigns section
- Filter by Meta to see all your Meta ad campaigns
- View detailed attribution and conversion data for each campaign
5. Deferred Deep Linking
Use deferred deep links when a Meta install should open a specific screen after first app open. Linkrunner returns the selected URL in the SDKgetAttributionData() response.
Campaign, ad set, and ad creative rows appear in Linkrunner after they receive at least one install.
Priority Order
Linkrunner uses the most specific deep link available:- Ad Creative Level: Used first
- Ad Set Level: Used when the ad creative has no deep link
- Campaign Level: Used as the fallback
Campaign-Level Deep Links
Use this when every ad in the campaign should open the same destination.- Navigate to the Campaigns section in your Linkrunner Dashboard
- Find your Meta campaign in the list
- Click the Edit button on the campaign row
- In the campaign settings, locate the Deferred Deep Link field
- Enter your deep link URL, such as
https://myapp.com/product/12345 - Click Save to apply the changes
Ad Set-Level Deep Links
Use this when an ad set should open a different destination from the campaign default.- Navigate to the Campaigns section in your Linkrunner Dashboard
- Find your Meta campaign in the list
- Click on the ad set name to open the ad set details
- In the ad set configuration, locate the Deferred Deep Link field
- Enter your deep link URL, such as
https://myapp.com/category/electronics - Click Update to apply the changes
If no ad set deep link is set, Linkrunner uses the campaign deep link.
Ad Creative-Level Deep Links
Use this when one ad should open a specific product, offer, or screen.- Navigate to the Campaigns section in your Linkrunner Dashboard
- Find your Meta campaign in the list
- Click on the ad creative name (or ad name) to open the ad creative details
- In the ad creative configuration, locate the Deferred Deep Link field
- Enter your deep link URL, such as
https://myapp.com/product/12345?promo=summer - Click Update to apply the changes
If no ad creative deep link is set, Linkrunner checks the ad set, then the campaign.
6. Enable Meta View-Through Attribution (Android)
By default, Linkrunner attributes installs from Meta ads using click-based attribution. To also attribute installs from users who viewed your ad but didn’t click on it (view-through conversions), you need to enable Meta Install Referrer support. Meta Install Referrer allows Linkrunner to receive ad campaign metadata directly from the Facebook or Instagram app installed on the user’s device. This enables view-through conversion tracking, giving you a more complete picture of your Meta campaign performance.How It Works
- A user views your Meta ad but doesn’t click on it
- The user later installs your app organically
- The Linkrunner SDK retrieves campaign metadata stored by the Facebook/Instagram app on the device
- Linkrunner attributes the install back to the original Meta ad view
Setup
To enable this, you need to make your Facebook App ID available to the Linkrunner SDK in your Android app’sAndroidManifest.xml.
- Without Facebook SDK
- With Facebook SDK
Add the following to your And add your App ID to
AndroidManifest.xml:strings.xml:Requirements
- Android SDK version 3.5.2 or higher
- Flutter SDK version 3.6.2 or higher
- React Native SDK version 2.6.2 or higher
- Users must have Facebook app version 428.x.x+ or Instagram app version 296.x.x+ installed on their device
View-through attribution requires the Facebook or Instagram app to be installed on the user’s device. If neither app is present, only click-based attribution will be available.
Troubleshooting
Events Not Showing Up in Meta
- Verify your Referrer Decryption Key is correct
- Check that your dataset is configured to receive Conversions API events
- Wait up to 1 hour for events to appear in Meta Events Manager
- Test your event mappings using the paper plane Send to ad network icon in Linkrunner
Campaigns Not Appearing in Dashboard
Campaigns will only appear in the Linkrunner dashboard after the first install comes through that campaign, not immediately when the campaign is launched. Before troubleshooting, verify:- App is live with Linkrunner SDK — Ensure your app is deployed with the Linkrunner SDK integrated and has 100% rollout to users
- Meta decryption key is configured — Verify the Install Referrer Decryption Key is correctly added in your Linkrunner dashboard settings
- Campaigns are running — Confirm your Meta ad campaigns are active and serving impressions
- First install received — Campaigns appear only after the first user installs your app via that campaign
Revenue Data Not Tracking
- Confirm “Send Revenue” is enabled in your event mapping
- Verify the correct currency is selected
- Ensure your app is sending revenue values with events
For any questions or assistance with Meta Ads integration, please contact us at support@linkrunner.io.













