MGID Settings
- 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.
Hotmart Settings
1. In your Hotmart account, click Produtos (Products), then Ferramentas (Tools).
2. Type “Webhook” in the search bar. Then, click Webhook (API e notificações).
3. Click on the Cadastrar Webhook (Register Webhook) button.
4. Fill in the following required fields:- Nome da configuração: Insert any name desired for the conversion (e.g., Purchase completed).
- Selecione um produto: Select the product that you want to track.
- URL para envio de dados: Insert the copied postback URL that was generated on the MGID dashboard. Insert the vendor’s name at the end of the URL. https://a.mgid.com/postback/webhook?e=webhook_main&vendor=hotmart
- Selecione uma versão: Ensure that you select version 1.0.0.
- Eventos para enviar: Choose the event that you want to share with MGID. For example, select Compra aprovada (Purchase completed) if you wish to track completed orders.
For additional events, click Cadastrar Webhook (Register Webhook), repeat the previous steps and insert the following URLs (Note: Ensure that you also add the vendor’s name at the end of the URL).
- https://a.mgid.com/postback/webhook?e=webhook_additional1&vendor=hotmart
- https://a.mgid.com/postback/webhook?e=webhook_additional2&vendor=hotmart
Lastly, contact your manager to perform test conversions and confirm that tracking set up was successful.