Tracking Conversions - N8N
Tracking Conversions - N8N
This article explains how to set up VTurb's conversion tracking and how to integrate this functionality with N8N.
- On your **N8N **dashboard, click Start from Scratch to create a new workflow.
- Download the template from this link: Template
- Click on the three dots, select Import from File, and choose the downloaded file. You’ll see the following screen:
- Select the Webhook module.
- In the webhook menu, first leave the Test URL selected and then choose the method POST.
- Copy the test URL.
- Click the button Listen for Test Event.
- Now, send a test event from your payment platform (e.g., Hotmart, Kiwify, Cartpanda, etc.) using the test URL to configure the webhook. This completes the test part of the webhook setup.
- After setting up the test webhook, also register the production webhook, this time using the production URL.
- After sending the test event, you will see a screen like this one, indicating that the event was received successfully!
- Select HTTP Request.
- Copy the URL generated by the VTurb panel under Conversion Tracking and paste it in the URL field in N8N.
- Replace the platform name in the URL with N8N. Example of where to replace and how it should look:
- Map the variables corresponding to each field requested in the JSON.
Example of a JSON with Hotmart variables:
{
"order_amount_cents": {{ $json.body.data.purchase.original_offer_price.value }},
"currency": "{{ $json.body.data.purchase.original_offer_price.currency_value }}",
"conversion_key": "{{ $json.body.data.purchase.sckPaymentLink }}",
"product_name": "{{ $json.body.data.product.name }}",
"category": "initial_sale",
"order_created_at": "{{ $json.body.creation_date }}",
"order_ip": "{{ $json.headers['x-real-ip'] }}"
}
Note: Each payment platform uses different variable names.
- Once you've finished setting up the JSON, your webhook will be configured via **N8N **and will look like the image below. The color will change as soon as your first sale is made!
And that's it, integration with **N8N **successfully completed!
Now the conversions from your videos will be tracked within VTurb.
If you have any questions or need support during the process, our team is here to help!
**
Updated on: 09/03/2025
Thank you!