MGID Integration with Yampi (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./Advertisers/1.%20English%20language%20articles/Webhooks%20updated/1.%20Webhook_new.png?width=688&height=363&name=1.%20Webhook_new.png)
3. Name your conversion goal (e.g., "order"). To track multiple goals, simply repeat this step for each new goal./Advertisers/1.%20English%20language%20articles/Webhooks%20updated/2.%20Webhook_new.png?width=688&height=332&name=2.%20Webhook_new.png)
4. From the dropdown list of third-party platforms (vendors), choose Yampi.
/Advertisers/1.%20English%20language%20articles/Yampi/Yampi.png?width=688&height=358&name=Yampi.png)
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.
/Advertisers/1.%20English%20language%20articles/Webhooks%20updated/5.%20Webhook_new.png?width=688&height=350&name=5.%20Webhook_new.png)
/Advertisers/1.%20English%20language%20articles/Braip.com/Braip-webhook_1.png?width=688&height=355&name=Braip-webhook_1.png)
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.
Yampi Settings
1. In the Yampi admin page, go to Configurações (Settings) and then click Webhooks.
/Advertisers/1.%20English%20language%20articles/Yampi/NEW_yampi1.png?width=688&height=329&name=NEW_yampi1.png)
/Advertisers/1.%20English%20language%20articles/Yampi/NEW_yampi2.png?width=688&height=327&name=NEW_yampi2.png)
2. Click Novo webhook (New webhook).
/Advertisers/1.%20English%20language%20articles/Yampi/NEW_yampi3.png?width=688&height=328&name=NEW_yampi3.png)
https://a.mgid.com/postback/webhook?e=webhook_main&vendor=yampi
/Advertisers/1.%20English%20language%20articles/Yampi/NEW_yampi4.png?width=688&height=328&name=NEW_yampi4.png)
4. Select the Event Pedido Aprovado (Order Approved) mentioned above and click Ver Produtos (Check Products).
/Advertisers/1.%20English%20language%20articles/Yampi/NEW_yampi5.png?width=688&height=329&name=NEW_yampi5.png)
/Advertisers/1.%20English%20language%20articles/Yampi/NEW_yampi6.png?width=688&height=328&name=NEW_yampi6.png)
5. Select the desired product to apply the tracking configuration. Then, press Adicionar (Add) and Salvar (Save).
/Advertisers/1.%20English%20language%20articles/Yampi/NEW_yampi7.png?width=688&height=329&name=NEW_yampi7.png)
/Advertisers/1.%20English%20language%20articles/Yampi/NEW_yampi8.png?width=688&height=329&name=NEW_yampi8.png)
You are able to create three events with the provided postback URLs from the MGID Dashboard. Below is an example of configured events.
Event 1: Cliente Criado (Client Created)
URL: https://a.mgid.com/postback/webhook?e=webhook_additional1&vendor=yampi
Event 2: Pedido Criado (Order Created)
URL: https://a.mgid.com/postback/webhook?e=webhook_additional2&vendor=yampi
Lastly, contact your manager to perform test conversions and confirm that the tracking set up was successful.