Skip to content

Test order

How do you check that Linkwise tracking records purchases: visit with utm_source=linkwise, order and check the completion code.

Applies to v1.3.5 Updated 5 Nov 2026 3 min read Step 7 of 13
v1.3.5 · WooCommerce 5.0+ · PHP 7.4+ Buy Support

Steps#

  1. Open a new anonymous window so that there are no old cookies.
  2. Visit the store with ?utm_source=linkwise, e.g. https://www.example.gr/?utm_source=linkwise.
  3. Open source code (Ctrl+U) and find it go.linkwi.se/delivery/js/tl.js and the lw("setProgram", …) with your Program ID.
    The source code of the homepage with Linkwise tl.js and setProgram and setDecimal highlighted commands
    The source code shows the tl.js and orders setProgram and setDecimal.
  4. Put in the basket a simple and variable product. If you want to check the coupon, use a discount coupon.
  5. Place the order using a payment method that does not charge a card, such as cash on delivery or bank deposit.
  6. Page Order received Open the source code again.
    The order page was received by means of a cash-in test order
    The page "The order received" of the test order.

What to see#

  • The go.linkwi.se/delivery/js/tlwt.js.
  • One lw("addItem", …) for each product, with id (for variant, the ID of variant), price, quantity and payout.
  • The lw("setCoupon", …) with the net discount or 0.
  • The lw("thankyou", …) with the order number, status: "pending" and currency: "978".
  • A pixel acl.php within <noscript>.
The source code of the page "Order received" with tlwt.js, addItem, setCoupon, hankyou and pixel acl.php highlighted
The integration code: tlwt.js, addItem per product, setCoupon, thankyou And the pixel.

Checking amounts#

The price must be the unit price without VAT before the voucher. For a product of 24,80€ VAT 24% you must see 20, because unnecessary zeros are omitted; for 25,00€ you will see 20,1613 with a party or 20.1613 With a dot.

After the test#

  1. Send Linkwise the order number to confirm the record.
  2. Cancel the test order at WooCommerce.
  3. Repeat in a new anonymous window without the parameter: there the code should not be displayed.
Did this article help you?
It's not solved?

Send a request; the plugin and the article are automatically completed.

Request support