- A visitor clicks a Lemrock ad. Lemrock adds
lrclidto your Adjust link. - Adjust records
lrclid, then ties the install and purchases to that click. - On every purchase, Adjust calls your server with
lrclid. - Your server sends the purchase to Lemrock.
Before you start
- The Adjust SDK is integrated in your app and your purchase event is tracked in Adjust, with its amount and currency.
- The order ID is sent with the purchase event, as an Adjust SDK callback parameter (for example
order_id). It makes sure each order is counted once. - Your Lemrock API key (
lr_sk_...), from your Lemrock contact.
1. Create an Adjust link for Lemrock
In Adjust, go to Campaign Lab > Custom links and create a link withLemrock as the Channel. A dedicated link lets Adjust attribute installs to Lemrock rather than to another source.
In the link’s Attribution settings screen, set the click attribution window (Device matching) to 30 days.
Send this link to your Lemrock contact: your Lemrock ads will point to it.
On every click, Lemrock adds its click ID to the link:
2. Add a purchase callback
In Adjust, go to AppView, open your app, then Data management > Server callbacks and add a callback for your purchase event, to an endpoint on your server:{dcp_lrclid} holds the Lemrock click ID that Adjust recorded at click time. It is empty if the purchase does not come from a Lemrock click. Adjust appends the callback parameters sent by your SDK to the URL, including the order ID: &order_id=12345.
3. Send the purchase to Lemrock
For every callback received, your server sends the purchase, whether or not it comes from a Lemrock click, to the server API asorder_created:
Only send Lemrock purchases from users who accepted advertising tracking in your app, including Lemrock.
4. Test
- On an Android phone without your app, open your Adjust link with
?lrclid=lr_clk_0000000000000000000000added. - Install the app, open it and make a test purchase.
- Check that your server receives the callback with
lrclid=lr_clk_0000000000000000000000. - Send the purchase to Lemrock with
"validate_only": true: the response must be202.
Limits
- iOS: if the user refuses tracking (ATT), Adjust may not tie the install to the click. The purchase is then not attributed to Lemrock.
- Other source: Adjust attributes each install to the last click. If the user then clicked another network’s ad, or is reattributed to another network, Adjust no longer returns the Lemrock
lrclid. - Installs: only purchases are reported for now.

