Skip to content

Lastlink Integration

Learn how to set up OneClick Tracking on Lastlink.

OneClick Tracking is a feature for Meta Ads advertisers who use Lastlink as their checkout and payment platform for digital products, subscriptions and communities. It provides immediate, accurate conversion tracking.

This solution corrects wrong attributions made by Meta, delivering real data based on UTMs and enabling safer scaling decisions.

With OneClick Tracking you see the volume of real conversions per period right in your Ads Manager, making for a quick, clear audit without complicated dashboards that need to be kept up to date.

Using your Lastlink product’s webhook, OneClick takes into account UTM data as well as Meta’s data, without duplicating conversions.

Note: OneClick Tracking eliminates the need for extra tracking tools!


Section titled “How to Plug OneClick Tracking into Lastlink”
  1. Log in to your OneClick Ads account.

  2. Go to the "OneClick Tracking" tab, available in the left sidebar of OneClick Ads.

    The OneClick Tracking tab in the OneClick Ads sidebar, with the New Integration card

  3. Click "New Integration".

  4. Select the "Digital products" product type and click Continue.

  5. Select the "Lastlink" platform and click Continue.

  1. Copy the Webhook URL generated by OneClick and register it in Lastlink by following the steps below: a. Each ad account will have a unique link generated automatically. b. This link is what connects your account to Lastlink and tracks conversions by UTM.

    6.1. Log in to your Lastlink account, open the Produtos (Products) menu and select the product you advertise.

    6.2. In the product’s settings, open Integrações (Integrations), search for Lastlink - Webhook and click Ativar (Activate).

    6.3. Click Novo webhook (New webhook), in the top right corner.

    6.4. Give the webhook a Nome (Name), for example “OneClick Tracking”, so you can identify it later.

    6.5. In the URL field, paste the tracking URL provided by OneClick.

    6.6. Click Selecionar (Select) and check the Compra Completa (Purchase completed) event. This is the event that generates the conversion. Confirm the selection.

    6.7. Click Salvar (Save).

    6.8. Repeat steps 6.1 to 6.7 for each product you advertise: in Lastlink, the webhook is set up per product.

  1. Copy the UTM Script generated in OneClick Tracking.

    The UTM parameters step of OneClick Tracking, with the parameter to copy

    7.1. Paste it into the "URL parameters" field in ALL of your ads in Ads Manager, as shown below:

    The URL parameters field of an ad in Meta Ads Manager

  1. Add the UTM Passthrough Script to all your sales pages, so the UTMs are carried through to the final checkout page: a. You can install it on your website via Google Tag Manager or, preferably, directly in your website's header. b. The script must also be present on the landing page that comes before the Lastlink checkout.
  1. Set the Attribution Mode.

    The Attribution Mode step of OneClick Tracking

  2. Set the Naming Convention that your campaigns, ad sets and ads will receive in your Ads Manager and click next.

The Campaign Naming step of OneClick Tracking Analysis periods and the Naming Convention preview


Wait at least 24 hours for the setup to take effect, and all your campaigns (those that receive conversions) will start recording conversions right inside Ads Manager.

Campaigns with the OneClick Tracking prefix in Ads Manager


  • Install and keep the Meta pixel in your Lastlink product settings.
  • OneClick Tracking records the sale at the amount the buyer paid, in your ad account’s currency (Brazilian real if none is set). The recorded amount is the sale amount, not your commission.
  • An upsell is its own purchase in Lastlink and is recorded as a separate conversion, at its own amount.
  • Only the first charge of a subscription is recorded as a conversion. Renewals are received and ignored, so the same sale isn’t counted several times.
  • The UTM pass-through script must be present on the landing page that comes before the Lastlink checkout to ensure the UTM parameters are captured correctly.
  • Only campaigns created after the setup will have access to the “Maximum Period” data. This does not affect OneClick Ads optimization of older campaigns in any way.
  • Keep at least one ad identifier (ad.id) in the UTM parameters — it’s what allows OneClick Tracking to associate the conversion with the correct campaign, ad set and ad. If the customer doesn’t come from a tracked link, the sale can’t be attributed.