Ads EditorHelp Center

Sales platforms

Track Cakto sales back to the ad

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

Meta AdsGoogle Ads5 min
Where it isUTM IntegrationsNew projectCakto

Quick answer

In UTM Integrations, create a project with Cakto (click it in the platform grid) and the product ad accounts. In Set up tracking, which opens right away on the new project, copy the URL from block 4 and register it in Cakto, under Integrations, Webhooks. Then add the UTMs to the campaigns and make a test sale.

Watch the walkthrough 0:39

Before you start

  • Have admin access to Cakto: that is where the webhook is registered.
  • Tracking has three parts: the script on the sales page, the UTMs on the ads and the Cakto 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 Cakto sends after setup come in.

Step by step

In this example, we link the sales of a fictitious product, the Guitar from Zero Course, to the Meta campaigns.

  1. 1

    Platform and name

    In the side menu, click UTM Integrations (if you already have projects, click New project). In the platform grid, click Cakto (or type its name in Search platform) and name the project, after the product, for example.

    Platform and name
  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 Cakto dashboard button, in the same block, opens the panel.

    Copy the webhook URL

Where to paste the webhook in Cakto

  • In Cakto, open Integrations and then Webhooks (the Open Cakto dashboard button in the project takes you to the panel).
  • Create a new webhook and paste the Ads Editor URL.
  • Check the approved purchase, refund and chargeback events and save.

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 Cakto. 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 Cakto
A test sale did not show upCakto does not resend a notice that failedCheck the URL in the Cakto webhook and make another test sale
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 open Set up tracking. Block 4, Paste the webhook into the sales platform, 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.

Which sales platforms does Ads Editor integrate with?

The UTM Integrations platform grid has 33 platforms. From Brazil: Hotmart, Braip, Kiwify, Eduzz, Guru, Hubla, Kirvano, Cakto, Ticto, Perfect Pay, Monetizze, Greenn, Pepper, Lastlink, Payt, CartPanda, XPag, Yampi, Nuvemshop, Vega and Appmax. International: ClickBank, Digistore24, BuyGoods, MaxWeb, Shopify, WooCommerce, Stripe, CheckoutChamp, Sticky.io, ThriveCart, SamCart and Whop. Click yours in the New project box, or type its name in Search platform. If yours isn't on the list, click Can't find your platform? Request an integration on the same page and tell us which platform you use: the team decides what to add based on requests.

Was this guide helpful?