How to access? Click on your avatar at the top right of the platform > "Company settings" > "Performance" and then on the "Tracking" tab.

To retrieve the number of clicks and sales from different distribution channels (excluding marketplaces) via the Lengow platform, you need to install three trackers:

  • Click tracker.
  • Checkout tracker.
  • Conversion tracking.

Click tracker

This tracker allows you to retrieve the number of clicks performed by each user.

Copy and paste the code provided below or via the platform into all the pages on your e-commerce website .

<script type="text/javascript" src="http://trk.lgw.io/tac.js"></script>

Warning! Consider choosing a conversion tracking period.

What is it?

Lengow places a cookie on the computer of the internet user who is the "buyer" as soon as the user clicks on one of your products from a distribution channel that is tracked by Lengow (e.g., from a link from the LeGuide comparison site.

The conversion tracking period specifies the period during which you attribute a sale to a distribution channel. If a click has been tracked by Lengow and this results in a direct sale on your site during the period covered by the conversion tracking period, the sale will be linked to the click, and therefore also with the associated distribution channel, within Lengow's statistical features.

For example, if you specify a thirty-day period, a buyer who clicks on a tracked link and who makes a purchase on your site 20 days later will automatically cause a sale to be attributed to the comparison site where the user clicked 20 days earlier. After the expiry of this thirty-day period, Lengow will no longer account for the sale in its statistics, and will instead treat it as a "direct" sale.

Checkout tracker

This tracker allows you to retrieve orders generated on your site. It works in conjunction with the Conversion tracker.

Copy and paste the code provided below or via the platform on your e-commerce website payment pages. If you can't fill in mandatory parameter on this page, Copy and paste this code into the page that returns the user to the store after confirmation of payment.

<img src="http://trk.lgw.io/lead?account_id=%account_id%&order_ref=%order_ref%&amount=%amount%&currency=%currency%&payment_method=%payment_method%&cart=%cart%&newbiz=%newbiz%&cart_number=%cart_number%&billing_address=%billing_address%&sale_type=%sale_type%" alt="" border="0"/>

Warning! You must replace the red variables with the corresponding value from your e-commerce website. If you choose not to enter the recommended variables, remove the entire parameter instead (e.g.: &payment_method=%payment_method%)

  • %account_id% (mandatory): Your Lengow account username. (You can find your username by clicking on your avatar at the top right-hand corner of the platform, then on "Company settings" > "Account ID: XXXX").
  • %order_ref% (mandatory): Order reference generated within your e-commerce software for your back office.
  • %amount% (mandatory): The amount of the order (e.g., 327.0000).
  • %currency% (mandatory): The currency in ISO_4217 format (e.g.: EUR, GBP. etc.).
  • %payment_method% (recommended): The way the order was paid for (e.g., : credit card, PayPal).
  • %cart% (recommended): List of ordered products with the unique identifier, the price and the numbre of ordered products. The expected format is in JSON, example:
[
    {
        product_id: "13812",
        price: 12.99,
        quantity: 2
    },
    {
        product_id: "12813",
        price: 24.99,
        quantity: 1
    }
]

URL format:

&cart=[{product_id:"13812",price:12.99,quantity:2},{product_id:"12813",price:24.99,quantity:1}]

 

  • %newbiz% (recommended): Specify the value as "true" if this is a new customer (placing his or her first order); otherwise set the value to "false."
  • %cart_number% (recommended): The reference for the shopping cart.
  • %billing_address% (recommended): The billing address applicable to the order (Format : String)
  • %sale_type% (recommended): specify the source which led to the order being placed (exemple: SEO, SEA, retargeting A, retargeting B, etc.). Where your orders are attributed to a distribution channel that is connected to Lengow, this information is automatically filled in. If you do not specify any information and the order is not attributed to a distribution channel that is connected to Lengow, the order type will default to the "direct" type.

Conversion tracker

This tracker allows you to retrieve orders placed on your site where payment has been verified by the bank or any other payment method such as PayPal or Paylib.

Copy and paste the code provided below or via the platform into the page that returns the user to the store after confirmation of payment.

<img src="http://trk.lgw.io/validation?valid=1&account_id=%account_id%&order_ref=%order_ref%&payment_method=%payment_method%" alt="" border="0"/>

Warning! You must replace the red variables with the corresponding value from your e-commerce website. If you choose not to enter the recommended variables, remove the entire parameter instead (e.g.: &payment_method=%payment_method%)

  • %account_id% (mandatory): Your Lengow account username. You can find your username by clicking on your avatar at the top right-hand corner of the platform, then on "Company settings" > "Account ID: XXXX").
  • %order_ref% (mandatory): Order reference generated within your e-commerce software for your back office.
  • %payment_method% (recommended): The way the order was paid for (e.g., : credit card, PayPal).

Checking that tracking is operating correctly

In order to ensure that your trackers are fully functional, a colored icon shows its current status:

  • Green: The tracker has been activated within the last 48 hours.
  • Orange: The tracker has not been activated for at least 48 hours.
  • Red: The tracker has not been activated in the last seven days or has never been activated.

Manually testing your Lengow trackers

To test whether your trackers are working without waiting for your first real order, you can carry out a test order from a link that is tracked by Lengow.

Retrieve the product URL in the trk.lgw.io format, or with the ?LGWCODE setting in the "Preview" tab of your distribution channel.Copy and paste the code into a new browser tab to access your site, then proceed to order the product.

After thirty minutes, the colored icons should have turned green. If this is not the case, please follow the following process:

Carry out a further test sale (see above), and viewthe source code at each of the following steps:

  • the order confirmation page
  • the page to return to the store after payment confirmation

On these pages, check to ensure that the trackers are there and with good variables.

Retain the source code of your payment selection and payment confirmation pages during the order process. If the sale does not appear in Lengow's statistics after thirty minutes, contact the Lengow customer support team, providing the source code of your pages.

Set up the tracking

How to access? Click on your avatar at the top right of the platform > "Company settings" > "Performance" and then on the "Tracking" tab.

To retrieve the number of clicks and sales from different distribution channels (excluding marketplaces) via the Lengow platform, you need to install three trackers:

  • Click tracker.
  • Checkout tracker.
  • Conversion tracking.

Click tracker

This tracker allows you to retrieve the number of clicks performed by each user.

Copy and paste the code provided below or via the platform into all the pages on your e-commerce website .

<script type="text/javascript" src="http://trk.lgw.io/tac.js"></script>

Warning! Consider choosing a conversion tracking period.

What is it?

Lengow places a cookie on the computer of the internet user who is the "buyer" as soon as the user clicks on one of your products from a distribution channel that is tracked by Lengow (e.g., from a link from the LeGuide comparison site.

The conversion tracking period specifies the period during which you attribute a sale to a distribution channel. If a click has been tracked by Lengow and this results in a direct sale on your site during the period covered by the conversion tracking period, the sale will be linked to the click, and therefore also with the associated distribution channel, within Lengow's statistical features.

For example, if you specify a thirty-day period, a buyer who clicks on a tracked link and who makes a purchase on your site 20 days later will automatically cause a sale to be attributed to the comparison site where the user clicked 20 days earlier. After the expiry of this thirty-day period, Lengow will no longer account for the sale in its statistics, and will instead treat it as a "direct" sale.

Checkout tracker

This tracker allows you to retrieve orders generated on your site. It works in conjunction with the Conversion tracker.

Copy and paste the code provided below or via the platform on your e-commerce website payment pages. If you can't fill in mandatory parameter on this page, Copy and paste this code into the page that returns the user to the store after confirmation of payment.

<img src="http://trk.lgw.io/lead?account_id=%account_id%&order_ref=%order_ref%&amount=%amount%&currency=%currency%&payment_method=%payment_method%&cart=%cart%&newbiz=%newbiz%&cart_number=%cart_number%&billing_address=%billing_address%&sale_type=%sale_type%" alt="" border="0"/>

Warning! You must replace the red variables with the corresponding value from your e-commerce website. If you choose not to enter the recommended variables, remove the entire parameter instead (e.g.: &payment_method=%payment_method%)

  • %account_id% (mandatory): Your Lengow account username. (You can find your username by clicking on your avatar at the top right-hand corner of the platform, then on "Company settings" > "Account ID: XXXX").
  • %order_ref% (mandatory): Order reference generated within your e-commerce software for your back office.
  • %amount% (mandatory): The amount of the order (e.g., 327.0000).
  • %currency% (mandatory): The currency in ISO_4217 format (e.g.: EUR, GBP. etc.).
  • %payment_method% (recommended): The way the order was paid for (e.g., : credit card, PayPal).
  • %cart% (recommended): List of ordered products with the unique identifier, the price and the numbre of ordered products. The expected format is in JSON, example:
[
    {
        product_id: "13812",
        price: 12.99,
        quantity: 2
    },
    {
        product_id: "12813",
        price: 24.99,
        quantity: 1
    }
]

URL format:

&cart=[{product_id:"13812",price:12.99,quantity:2},{product_id:"12813",price:24.99,quantity:1}]

 

  • %newbiz% (recommended): Specify the value as "true" if this is a new customer (placing his or her first order); otherwise set the value to "false."
  • %cart_number% (recommended): The reference for the shopping cart.
  • %billing_address% (recommended): The billing address applicable to the order (Format : String)
  • %sale_type% (recommended): specify the source which led to the order being placed (exemple: SEO, SEA, retargeting A, retargeting B, etc.). Where your orders are attributed to a distribution channel that is connected to Lengow, this information is automatically filled in. If you do not specify any information and the order is not attributed to a distribution channel that is connected to Lengow, the order type will default to the "direct" type.

Conversion tracker

This tracker allows you to retrieve orders placed on your site where payment has been verified by the bank or any other payment method such as PayPal or Paylib.

Copy and paste the code provided below or via the platform into the page that returns the user to the store after confirmation of payment.

<img src="http://trk.lgw.io/validation?valid=1&account_id=%account_id%&order_ref=%order_ref%&payment_method=%payment_method%" alt="" border="0"/>

Warning! You must replace the red variables with the corresponding value from your e-commerce website. If you choose not to enter the recommended variables, remove the entire parameter instead (e.g.: &payment_method=%payment_method%)

  • %account_id% (mandatory): Your Lengow account username. You can find your username by clicking on your avatar at the top right-hand corner of the platform, then on "Company settings" > "Account ID: XXXX").
  • %order_ref% (mandatory): Order reference generated within your e-commerce software for your back office.
  • %payment_method% (recommended): The way the order was paid for (e.g., : credit card, PayPal).

Checking that tracking is operating correctly

In order to ensure that your trackers are fully functional, a colored icon shows its current status:

  • Green: The tracker has been activated within the last 48 hours.
  • Orange: The tracker has not been activated for at least 48 hours.
  • Red: The tracker has not been activated in the last seven days or has never been activated.

Manually testing your Lengow trackers

To test whether your trackers are working without waiting for your first real order, you can carry out a test order from a link that is tracked by Lengow.

Retrieve the product URL in the trk.lgw.io format, or with the ?LGWCODE setting in the "Preview" tab of your distribution channel.Copy and paste the code into a new browser tab to access your site, then proceed to order the product.

After thirty minutes, the colored icons should have turned green. If this is not the case, please follow the following process:

Carry out a further test sale (see above), and viewthe source code at each of the following steps:

  • the order confirmation page
  • the page to return to the store after payment confirmation

On these pages, check to ensure that the trackers are there and with good variables.

Retain the source code of your payment selection and payment confirmation pages during the order process. If the sale does not appear in Lengow's statistics after thirty minutes, contact the Lengow customer support team, providing the source code of your pages.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request