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

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.

    New_webh_EN_0_1

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

    New_webh_EN_222

    3. Select a Vendor from the dropdown list.

    New_webh_EN_3

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

    New_webh_EN_4

    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.

    New_webh_EN_5

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

    New_webh_EN_6

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


    Yampi  Settings

    1. In the Yampi admin page, go to Configurações (Settings) and then click Webhooks.

    NEW_yampi1

    NEW_yampi2

    2. Click Novo webhook (New webhook).

    NEW_yampi3

    3. Name the Event that will be tracked, in this example Pedido Approved (Order Approved). Paste the URL provided 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=yampi

    NEW_yampi4

    4. Select the Event Pedido Aprovado (Order Approved) mentioned above and click Ver Produtos (Check Products).

    NEW_yampi5

    NEW_yampi6

    5. Select the desired product to apply the tracking configuration. Then, press Adicionar (Add) and Salvar (Save).

    NEW_yampi7

    NEW_yampi8

    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.