MGID Integration with Braip (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 Postback.



3. Insert the following Event Name and then click Get Postback URL.
  • webhook_main  (for the main goal)



Two more goals can be added for additional conversions. Repeat the previous step and insert the following event names.

  • webhook_additional1 (for the additional goal 1)
  • webhook_additional2 (for the additional goal 2)
4. In the Tracking tags section, add the following macro.
  • adclid={click_id}


Then, press save

Braip Settings

1. In your Braip account, click Ferramentas (Tools). Next, click Postback.



2. Select Nova configuração (New Configuration) — this will open the postback configuration tab.


3. Paste the Webhook URL selected from the MGID dashboard and insert the vendor’s name at the end of the URL. Select the event that you’d like to track as the main event. For example, Pagamento Aprovado (Payment Approved) will track when payment has been approved.



Then, press Salvar (Save).

You are able to track two more additional events, simply select Nova Configuração (New Configuration), repeat the previous steps and add the following URLs with the vendor name at the end of the URL.


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