Ads EditorHelp Center

Sales platforms

Track Hubla sales back to the ad

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

Meta AdsGoogle Ads5 min
Where it isUTM IntegrationsNew projectHubla

Quick answer

In UTM Integrations, create a project with Hubla (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 Hubla, in a Webhooks rule with the invoice.status_updated event. Then add the UTMs to the campaigns and make a test sale.

Watch the walkthrough 0:39

Before you start

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

Step by step

In this example, we link the sales of a fictitious product, the Sun Yoga Community, 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 Hubla (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.

    Copy the webhook URL

Where to paste the webhook in Hubla

  • In Hubla, open the Webhooks integration.
  • Add a new rule, give it a name and paste the Ads Editor URL into the URL field.
  • Keep products and offers set to all and pick the invoice status updated event (invoice.status_updated). Save the rule.

Script and UTMs

The Add to campaigns button writes the same UTM pattern as the other platforms, the one shown in block 2. The sale is linked to the ad by its ID, which goes in full in utm_content, and the campaign is looked up in Meta.

How to tell it worked

  • Make a test sale on Hubla. 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 Hubla
The rule exists, but nothing arrivesThe chosen event is not the invoice status oneEdit the rule in Hubla and pick invoice.status_updated
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?