> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.vturb.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Tracking Conversions - Hotmart


# Tracking Your Sales with Hotmart

This article explains how to set up VTurb's conversion tracking and integrate this functionality with your Hotmart store.

### Go to Conversion Tracking in VTurb and Select Hotmart


Click on **Conversions**, select **Hotmart**, and click **Continue**.
![](https://storage.crisp.chat/users/helpdesk/website/-/3/9/0/a/390a843820d6ba00/image_ohtjw1.png)

Next, select a tracking parameter that **is NOT being used in your traffic sources** and click **Confirm.**
![](https://storage.crisp.chat/users/helpdesk/website/-/3/9/0/a/390a843820d6ba00/image_1hnctap.png)

|| If you choose a parameter that is currently being used in your ads, VTurb will overwrite it.

Then, click **Add Credentials**, enter the **Client ID** and **Client Secret** generated in Hotmart, click **Save**, and then **Finish**.

| In the next step, we'll show you how to obtain your Client ID and Client Secret from Hotmart.

![](https://storage.crisp.chat/users/helpdesk/website/-/3/9/0/a/390a843820d6ba00/image_biofsf.png)


### How to Generate Your Client ID and Client Secret in Hotmart

In **Hotmart Credentials**, click **Create Credential**.
![](https://storage.crisp.chat/users/helpdesk/website/-/3/9/0/a/390a843820d6ba00/image_1vqbi7y.png)

Select the **Hotmart API** option and click **Create Credential**.
![](https://storage.crisp.chat/users/helpdesk/website/-/3/9/0/a/390a843820d6ba00/image_1sawpr9.png =773xauto)

Give the credential a name (for example, **VTurb**) and click **Create Credential** again.
**Important:** Do **NOT** enable the Sandbox option (leave it unchecked).
![](https://storage.crisp.chat/users/helpdesk/website/-/3/9/0/a/390a843820d6ba00/image_1dn9rmy.png)

After completing the steps above, your **Client ID** and **Client Secret** will be displayed as shown below. Simply copy them and paste them into VTurb, as shown in the previous step.
![](https://storage.crisp.chat/users/helpdesk/website/-/3/9/0/a/390a843820d6ba00/image_1tt101e.png)




## ⚠️ In case of using Utmify and you are an Affiliate/Co-producer:

* Use the parameter: `src`
* Important: On Hotmart, Utmfy uses the `XCOD` parameters to track the FRONT and `SCK` for UPSELLS. The `SRC`remains free, therefore, it's ideal to use it for tracking with UTMify.
![](https://storage.crisp.chat/users/helpdesk/website/390a843820d6ba00/image_dq20wc.png =325xauto)

Then, click **Add Credentials**, enter the **Client ID** and **Client Secret** generated in Hotmart, click **Save**, and then **Finish**.
![](https://storage.crisp.chat/users/helpdesk/website/-/3/9/0/a/390a843820d6ba00/image_rtn63b.png)


Now, simply click on the **Webhook URL** field to copy the URL that will be used in the next step.

![](https://storage.crisp.chat/users/helpdesk/website/390a843820d6ba00/image_p63ofr.png =924xauto)

| If you use RedTrack, you should choose a "sub" parameter (we provide sub1 to sub20) and set it up in RedTrack.

Learn how to do this in RedTrack [by clicking here.](https://help.vturb.com/pt-br/article/rastreando-a-conversao-redtrack-1f3z4rc/)

## Setting Up the Webhook in Hotmart

1. With the VTurb webhook copied, go to the Webhooks settings in Hotmart via this link: https://app.hotmart.com/tools/webhook and click in "Register Webhook"
    
2. Name the webhook and select "All products."

3. Paste the VTurb webhook into the "Data submission URL" field.

4. Select version 2.0.0 and "Purchase approved."

5. Save your changes.

![](https://storage.crisp.chat/users/helpdesk/website/390a843820d6ba00/image_epeh9m.png =278xauto)

And that’s it! Integration with Hotmart successfully completed!

Now, the conversions from your videos selling through Hotmart will be tracked within VTurb. ****

| If you use pop-ups on your page, you need to make a specific configuration so that the parameters are passed correctly. Contact us via chat to receive these instructions!

If you have any questions or need support during the process, our team is here to help!