Articles on: INTEGRATIONS
This article is also available in:

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.


  1. On your **N8N **dashboard, click Start from Scratch to create a new workflow.


  1. 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:


  1. Select the Webhook module.
  2. In the webhook menu, first leave the Test URL selected and then choose the method POST.
  3. Copy the test URL.


  1. Click the button Listen for Test Event.


  1. 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.

  1. After setting up the test webhook, also register the production webhook, this time using the production URL.


  1. After sending the test event, you will see a screen like this one, indicating that the event was received successfully!

  1. Select HTTP Request.
  2. Copy the URL generated by the VTurb panel under Conversion Tracking and paste it in the URL field in N8N.


  1. Replace the platform name in the URL with N8N. Example of where to replace and how it should look:

  1. 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.


  1. 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

Was this article helpful?

Share your feedback

Cancel

Thank you!