Shopify to AppLovin.
Send every Shopify order to AppLovin so campaigns optimize on real sales. Each paid order reaches AppLovin with the items and ad click attached.
What gets sent.
| DATALYR event | When it fires | Sent to AppLovin as | What it carries |
|---|---|---|---|
| purchase | Shopify marks an order paid | purchase | Subtotal after discounts and before tax and shipping, items, shipping, transaction ID, the aleid click ID, and hashed email and phone |
| checkout_started | A checkout is created | begin_checkout | The rule's value, else the sum of the items |
How it's matched.
DATALYR checks these in order and stops at the first one that finds the ad click.
- The visitor ID the App Embed writes onto the order as a cart attribute
- The order email, when the cart attribute found no ad click
- Click IDs and UTM parameters read from the order's landing page URL
AppLovin gets the aleid click ID and email and phone hashed with SHA-256, along with the browser's IP address and user agent, which every event needs. The sale has to be linked to a visit for those.
How it works.
- 01
Connect Shopify.
Open Sources, select connect on Shopify, enter your myshopify.com domain and approve the five permissions. Then turn on the App Embed in your theme editor and save, so each order carries the visit that drove it.
- 02
Connect AppLovin.
In Sources, connect AppLovin Ads with your Event Key and Conversion API key, and choose the account type. On your Shopify card, select Set up conversions, tick AppLovin · Web and select Create rules. A $0 purchase is not sent.
- 03
Check one conversion.
Place one order from an AppLovin ad click. Find purchase in Events, then open the newest row in Conversions and read the reply from AppLovin.
Check it worked.
- AppLovin counts every sale twice if its own Shopify app also sends events. In the AppLovin Shopify app, turn off Send data and keep the app for catalog sync. Then set the Shopify question on the AppLovin card to No.
- AppLovin has no test mode. Select send test event and DATALYR checks the event without sending it.
- Trigger one real conversion and confirm the rule's sent count went up by 1. In Health, open Delivery. The AppLovin row reads Working.
View docsInstall on ShopifyShopify revenueAppLovin AdsConversion delivery
Questions, answered.
Contact usNo. Two senders count every sale twice. Turn off Send data in the AppLovin Shopify app, keep the app so your catalog and order history sync, then open Manage on AppLovin Ads in DATALYR and set the Shopify question to No.
AppLovin takes no data about people in 30 countries, including the UK, France and Germany, so DATALYR holds those events back. It also holds back events where the customer denied marketing consent or opted out of sale or sharing.
The purchase event with the subtotal after discounts and before tax and shipping, the items, shipping and a transaction ID. Tax goes along only when the source records it.

See what really drives revenue.
Real-time attribution, analytics and conversions for every channel, campaign and ad, ready for your team and your agents.