MGID Integration with Cartpanda (via webhooks)

MGID Settings

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

Cartpanda_1

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

Cartpanda_2

Cartpanda_3

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

Cartpanda_4

Cartpanda_5

    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.
    • utm_campaign={click_id}

    Then, press save

    Cartpanda_6


    Cartpanda Settings

    1. In the Cartpanda admin page, go to Notificaçōes (Notifications) and proceed to the Webhooks section.

    Cartpanda_7

    Cartpanda_8

    Cartpanda_9

    2. Insert the Evento (Event name) and the Endpoint. You are able to create three events with the provided postback URLs from the MGID Dashboard. Below is an example of an event. 

    Event 1: Pedido pago 

    Endpoint: https://a.mgid.com/postback/webhook?e=webhook_main&vendor=cartpanda

    Cartpanda_10

    Then, press Salvar webhook (Save webhook).

    For additional events, repeat Step 2. Below is an example of configured events.

    • Event 2: Pedido criado

    Endpoint:

    https://a.mgid.com/postback/webhook?e=webhook_additional1&vendor=cartpanda

    • Event 3: Carrinho abandonado 

    Endpoint:

    https://a.mgid.com/postback/webhook?e=webhook_additional2&vendor=cartpanda

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