Ads EditorHelp Center

Sales platforms

Track Perfect Pay sales back to the ad

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

Meta AdsGoogle Ads5 min
Where it isUTM IntegrationsNew projectPerfect Pay

Quick answer

In UTM Integrations, create a project with Perfect Pay (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 Perfect Pay, under Tools, Webhook. Then add the UTMs to the campaigns and make a test sale.

Watch the walkthrough 0:39

Before you start

  • Have admin access to Perfect Pay and know which products the project will track.
  • Tracking has three parts: the script on the sales page, the UTMs on the ads and the Perfect Pay 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 Perfect Pay sends after setup come in.

Step by step

In this example, we link the sales of a fictitious product, the Natural Skincare Kit, 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 Perfect Pay (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 Perfect Pay dashboard button, in the same block, opens the panel.

    Copy the webhook URL

Where to paste the webhook in Perfect Pay

  • In Perfect Pay, open Tools and then the Webhook area (the Open Perfect Pay dashboard button in the project takes you to the panel).
  • Add a webhook and pick the products it covers. If the screen asks for one product at a time, repeat for each one.
  • Paste the Ads Editor URL into the URL field, keep the sale events checked and save.

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. Perfect Pay cuts utm_campaign to 10 characters, so the campaign name shows up cut in its dashboard, but that does not change the attribution in Ads Editor.

How to tell it worked

  • Make a test sale on Perfect Pay. 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 Perfect Pay
Sales of one product do not arriveThe webhook does not cover that productIn Perfect Pay, add the product to the webhook or create another one for it
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?