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.


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


3. Select a Vendor from the dropdown list.


4. Add the Event Name you want to give to the conversion step, and then click Get webhook URL


5. In the Tracking Tags block, {click_id} macro parameter will be added automatically based on the selected vendor. Do not change this parameter. However, you may add other desired macros from the list provided.


6. Copy and paste the generated Webhook link into your vendor’s account.


7. Publish the campaign or click Save Changes if you use Edit mode.

Perfect Pay Settings

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



2. Select Adicionar (Add).


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.

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


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


Lastly, contact your manager to perform test conversions and confirm that tracking set up was successful.