1. Help Center Home
  2. Advertisers
  3. Webhook tracking method & Integrations

MGID Integration with Perfect Pay (via webhooks)

MGID Settings

    1. In the MGID dashboard, to begin the process of setting up campaign tracking, click Create and then Campaign.
    0. Create-cmpn


     2. After filling out the Campaign setup and the Budget and limits sections, proceed to the Conversion tracking section. Then, click Webhook.1. Webhook_new


      3. Name your conversion goal (e.g., "order"). To track multiple goals, simply repeat this step for each new goal.2. Webhook_new

      4. From the dropdown list of third-party platforms (vendors), choose Perfect Pay.

      Perfect_pay

      The click_id parameter is automatically included in the tracking tags, so no manual edits are required.

      5. Click the Get webhook URL button to generate your unique webhook link. Copy the provided URL – this is the endpoint to be configured on the vendor’s side.

      5. Webhook_new

      Braip-webhook_1

      6. If you're editing an existing campaign, hit Save Changes. For new campaigns, select Publish to go live.

      7. Complete the Integration on the vendor’s side. Use the generated webhook URL to configure tracking within the selected vendor's platform.


      Perfect Pay Settings

      1. In your Perfect Pay account, open Ferramentas (Tools) and then Webhook - Vendas (Webhook - Postback).

      NEW_perfectpay1

      NEW_perfectpay2

      2. Select Adicionar (Add).

      NEW_perfectpay3

      3. Then, paste the following webhook URL (the URL copied from the MGID dashboard) and insert the vendor’s name at the end of the URL.
      •  https://a.mgid.com/postback/webhook?e=webhook_main&vendor=perfectpay

       Next, select the event name that you wish to track. For example, select Aprovado (Approved) if you wish to track paid orders.

      NEW_perfectpay4

      For additional events, click Adicionar (Add), repeat the previous steps and then insert the following URLs.

      • https://a.mgid.com/postback/webhook?e=webhook_additional1&vendor=perfectpay
      • https://a.mgid.com/postback/webhook?e=webhook_additional2&vendor=perfectpay

      Lastly, contact your manager to perform test conversions and confirm the successful tracking setup.