Drive app installs from AppLovin web or app campaigns and send in-app events back to AppLovin for optimization. This guide covers setting up your landing page, connecting AppLovin to Swaarm MMP, mapping your app events, creating the offer and launching the campaign.
⚠️ You need an AppLovin web account. This setup runs through AppLovin's web campaigns, so it requires an AppLovin account for websites. An account for app campaigns won't work for it. If you only have an app account, set up a web account with AppLovin first.
ℹ️ Swaarm sends your app events (installs and in-app events) to AppLovin through the AppLovin Conversion API. AppLovin uses them to attribute conversions to its campaigns and optimize delivery.
Step 1: Set up your landing page
AppLovin requires the AppLovin Pixel to be installed on your landing page before you can run any campaign.
In AppLovin Ads Manager, open Get ready for your first campaign and select Install AppLovin Pixel.
Select the platform your landing page is hosted on. For a custom page, select Others and follow the Install via Google Tag Manager guide.
Under Verify Pixel, enter your landing page domain and click Verify.
Set the download button on the landing page to your Swaarm link. You create the link in Step 4.
💡 Install the AppLovin Pixel Helper Chrome extension to check that your Pixel fires correctly.
Step 2: Connect AppLovin in Swaarm MMP
Copy your keys from AppLovin
In AppLovin Ads Manager, click your account name in the top right corner and go to Keys. Copy:
Key | Used for |
Event Key (also called Pixel ID) | Tells AppLovin which Pixel the events belong to. |
Conversion API Key | Authorizes Swaarm to send events to AppLovin. |
Reporting Key | Lets Swaarm read your campaign data from AppLovin. |
Add them in Swaarm
In Swaarm, go to Marketplace › Partners, find AppLovin and connect your account with the Conversion API Key.
Go to Store App page › Edit › Integrations › SAN Attribution › AppLovin.
Paste the Event Key into the Pixel ID field.
Click Save.
ℹ️ After you connect, AppLovin is created automatically under your Partners tab.
Step 3: Map events
AppLovin web campaigns optimize on standard website events. Map each of your app events to one of them.
In Swaarm, go to Store App page › Edit › Integrations › SAN Attribution › SAN Event Mapping.
Select AppLovin on the left-hand side.
For each event, select your app event on the left and the AppLovin event on the right.
Click Save.
⚠️ Map events before you create the campaign. Only events mapped here are forwarded to AppLovin. Events that are not mapped can't be used for optimization.
Suggested mapping:
Swaarm event | AppLovin event |
Install |
|
Registration / Trial start |
|
Checkout / Paywall view |
|
In-app purchase |
|
💡 AppLovin requires five events before you can launch a campaign: Page view, View item, Add to cart, Begin checkout and Purchase. You can check their status in AppLovin under Events › Event details. The Count by source column shows whether each event came from the Pixel or the Conversion API.
Step 4: Create the SAN offer in Swaarm
Open the Store App page for your app.
Scroll down to the Offers section.
Select AppLovin and click Create.
Copy the link on the next screen and add it to the download button on your landing page (Step 1).
ℹ️ Once Swaarm receives data from AppLovin, stats are recorded under this offer.
Step 5: Create the campaign in AppLovin
In AppLovin Ads Manager, create a new campaign and set your budget and optimization goal (for example, Purchase).
Under Campaign URL, enter your landing page in Destination URL (without
https://).You can click Edit to add AppLovin macros for campaign, creative set and other values.
Check the Final URL, add your creatives and launch the campaign.

