Skip to main content
When you finish, DATALYR sends conversions to AppLovin’s Conversion API and runs AppLovin’s pixel. When both send one event, AppLovin keeps one copy.

Before you start

DATALYR doesn’t import AppLovin spend or ad stats.

Connect AppLovin

1

Open the form

Open Sources. Select Connect on the AppLovin Ads row.
2

Paste the keys

Fill Event Key and Conversion API key. Add the Report Key if you have it.
3

Pick the account type

Choose Account type from the table below. Ask your AppLovin representative if you aren’t sure.
4

Answer the Shopify question

Set AppLovin Shopify app or pixel already sending events? to Yes or No.
5

Save

Select Connect.

If the AppLovin Shopify app already sends events

Two pixels count every sale twice. While the answer is Yes, DATALYR doesn’t load its pixel.
  1. In the AppLovin Shopify app, turn off Send data. Keep the app, so your catalog and order history still sync.
  2. In DATALYR, open Sources. Select Manage on AppLovin Ads.
  3. Select Edit setup. Change the answer to No. Select Save changes.

Create the rules

1

Open conversion setup

In Sources, find your revenue source. Select its flag button, Set up conversions.
2

Pick AppLovin

Tick AppLovin · Web. Event Key shows Connected AppLovin Event Key.
3

Create the rules

Open Preview n mappings to read the rules, where n is the rule count. Select Create rules.
To build a rule by hand, pick AppLovin as target platform in Conversions. Pick the key under AppLovin Event Key.

Tag your ads

AppLovin adds its click ID, aleid, to every website click. Keep it on the landing URL through every redirect.
  1. Open Track. Create a link.
  2. Under paste into your ads, find AppLovin Ads. Select copy parameters.
  3. Paste them into the AppLovin campaign’s Tracking Parameters.
A creative set with its own URL needs the parameters too. AppLovin has no ad-level macro for web.

Reference

Events

Renewals stay out unless you include them in Set up conversions.

Matching fields in user_data

AppLovin needs one of client_id, axwrt, alart, user_id, email, or phone. The page URL keeps only aleid and utm_*.

Deduplication

Both copies carry one dedupe_id: a purchase’s order ID, else the DATALYR event ID. AppLovin merges two events with one dedupe_id within five minutes and drops a later duplicate.

The AppLovin pixel

DATALYR loads AppLovin’s pixel through your tracking script as soon as AppLovin is connected.

Regions AppLovin doesn’t get

The Conversion API has no consent field, so DATALYR withholds the whole event.

Add a line to your privacy policy

Sharing with AppLovin is for advertising, and some US state laws count it as a sale or share. You can adapt this text:
This sentence is a starting point, not legal advice. Check it with your own adviser before you publish it.

Verify

  1. Open Conversions. Select manage rules. Open your rule.
  2. Select send test event. AppLovin has no test mode, so DATALYR checks the event and sends nothing.
  3. Trigger one real event.
  4. Confirm the rule’s sent count went up by 1.
  5. Open Health. Select Delivery.
  6. Confirm the AppLovin row reads Working.

When it does not work

Next