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 under Sales platform and the product ad accounts. Open Set up tracking, 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:25

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

    Name and platform

    In the side menu, click UTM Integrations. Under New project, give it a name (the product name, for example) and choose Hubla 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.

    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

Hubla uses its own UTM pattern, different from the other platforms. Add to campaigns already writes the right pattern for it, so do not copy UTMs from another project.

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 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?