Ads EditorHelp Center

Sales platforms

Track Lastlink sales back to the ad

Link Lastlink sales to your Meta and Google ads: create the project in UTM Integrations and paste the webhook URL into Lastlink.

Meta AdsGoogle Ads5 min
Where it isUTM IntegrationsNew projectLastlink

Quick answer

In UTM Integrations, create a project with Lastlink under Sales platform and the product ad accounts. Open Set up tracking, copy the URL from block 4 and register it in Lastlink, in each product, under Integrations, Webhook. Then add the UTMs to the campaigns and make a test sale.

Watch the walkthrough 0:26

Before you start

  • Have admin access to the products on Lastlink: the webhook is set up in each one.
  • Tracking has three parts: the script on the sales page, the UTMs on the ads and the Lastlink webhook. This guide covers the script and the webhook; the UTMs are in Track digital product sales back to the ad.
  • Old sales are not imported: only the ones Lastlink sends after setup come in.

Step by step

In this example, we link the sales of a fictitious product, the Weekly Recipes Membership, to the Meta campaigns.

  1. 1

    Name and platform

    In the side menu, click UTM Integrations. Under New project, give it a name (the product name, for example) and choose Lastlink in Sales platform.

    Name and platform
  2. 2

    Accounts and creation

    Click the list button next to Ad accounts, check the accounts that advertise the product, click Use checked accounts and then Create project.

    Accounts and creation
  3. 3

    Install the script on the site

    In the project, open Set up tracking. In block 1, Install the script on the sales page, click Copy. Then paste the script straight into the sales page <head> or install it with Google Tag Manager: click Open Tag Manager, create a new tag of the Custom HTML type, paste the script, pick the All Pages trigger, save and publish the container. The script keeps the click source until the purchase.

    Install the script on the site
  4. 4

    Copy the webhook URL

    In the same panel, copy the URL from block 4, Paste the webhook into the sales platform. The Open Lastlink dashboard button, in the same block, opens the panel.

    Copy the webhook URL
  • In Lastlink, the webhook is set up per product. Open the product and click Integrations.
  • Open the Webhook integration and create a new, active webhook.
  • Give it a name, paste the Ads Editor URL and check the purchase events (confirmed purchase, recurring payment, refund and chargeback).
  • Save and repeat for each product in the project.

Script and UTMs

For each sale to come back with its campaign, the ad needs the project UTMs and the sales page needs the script. To write the UTMs on many campaigns at once, see Apply UTMs to your campaigns.

How to tell it worked

  • Make a test sale on Lastlink. It shows up in Latest received events, in the project itself.
  • In the Meta Ads manager, the sale goes into the UTM Purchases and UTM Revenue columns, on the row of the campaign that brought it.

If something goes wrong

SymptomLikely causeWhat to do
No sale shows up in Latest received eventsThe URL was not registered, or was pasted only in partCopy the URL from block 4 again and check the setup in Lastlink
The membership renewal does not show upThe recurring payment event was not checkedEdit the product webhook in Lastlink and check the recurring payment
The sale arrives without a campaignThe ad has no UTM or the page drops the parametersUse Add to campaigns and install the script on the sales page

Frequently asked questions

Where do I find the webhook URL and where should I paste it on my sales platform?

Open the UTM Integrations page, find your project under My projects and click How to integrate. The Webhook section shows your project's unique URL with a copy button, and the instructions change depending on the platform. Examples: in Hotmart, paste it in the approved purchase webhook field (version 2.0) for all products in the account; in Kirvano, go to Apps, then Webhooks, and select the sales events; in Cakto, go to Integrations and Webhooks; in Ticto, go to Tools and Webhooks using JSON format, version 2.0; in Monetizze, go to Tools and Postback; in Perfect Pay and Lastlink, setup is per product. Always select the approved sale, refund and chargeback events so your numbers are correct. Many platforms have a shortcut button in the Ads Editor panel that opens the right page.

Open the question

Which sales platforms does Ads Editor integrate with?

The UTM Integrations selector includes: Hotmart, Braip, Kiwify, Eduzz, Guru, Hubla, Kirvano, Cakto, Ticto, Perfect Pay, Monetizze, Greenn, Pepper, Lastlink, Payt, and CartPanda. Choose yours in the Platform field when you create the integration. If yours isn't on the list, click Request integration on the same page and tell us which platform you use: the team decides what to add based on requests.

Open the question

Was this guide helpful?