Skip to content
All Guide to One Page

WooCommerce Linkwise Affiliate Advertiser

Set up and verify Linkwise tracking in WooCommerce, including your Program ID, amounts excluding VAT, payouts and cookies.

Applies to v1.3.5 (15 Nov 2026) · WooCommerce 5.0+ · WordPress 5.8+ · PHP 7.4+

1. Overview and guide

What Linkwise Affiliate Advertiser plugin does for WooCommerce, what you need before you start and all the help articles.

What's he doing?#

The plugin OBS Woocommerce Linkwise Sets the Linkwise monitoring code at your WooCommerce eshop. When a visitor comes from link affiliate, he loads the page code and, when he completes an order, sends Linkwise the products, net prices, coupon and payout. Thus Linkwise correctly calculates the commission of each affiliate.

Who's it for?#

For shops that work with Linkwise as advertists. It does not import products from Linkwise. The product catalogue sends him the special XML Feed for Linkwise.

Pre-conditions#

  • Active Advertiser and Program ID program by Linkwise.
  • WordPress with WooCommerce and regulated VAT rates.
  • ZIP and License key from your OBS account.

Aid Articles#

  1. Installation and activation
  2. Import license
  3. Linkwise: Program ID and decimal
  4. Plugin Settings
  5. When does the code load: attribution and cookie
  6. Test order and recording check
  7. Amounts, VAT and coupons
  8. Payout per product
  9. Cookies and consent
  10. Cache, lazy load and payment modes
  11. For developers
  12. Common problems

Article: Overview and guide →

2. Installation and activation

How to upload and activate the Linkwise Affiliate Advertiser plugin on WordPress and where you find its settings.

Before you start#

Download ZIP obs-woocommerce-linkwise from your OBS account. Don't decompress it. Make sure WooCommerce is installed and active, because the plugin is added to its settings.

Steps#

  1. In the management of WordPress go to Plugins → Add Add Add Add (page opens with title Add Plugins).
  2. Press Transhipment Plugin, select ZIP and press Install Now.
    The "Add Plugins" screen with selected obs-woocommerce-linkwise.zip file and the "Register Now" button
    Transhipment of ZIP from Plugins → Add new → Upload plugin.
  3. Press Enable. In the list appears as OBS Woocommerce Linkwise.
    The list of plugins with OBS Woocommerce Linkwise and the link "Activation" highlighted
    The ‘Activation’ link under the name of the plugin.
  4. Press the link Settings under the name. WooCommerce page opens → Settings → Integration → Linkwise Affiliate.
    The list of plugins with OBS Woocommerce Linkwise active and the link "Settings" highlighted
    The ‘Settings’ link appears after activation.
Linkwise Affiliate configuration page at WooCommerce Integration
The "Linkwise Affiliate" page inside the Integration tab of WooCommerce's settings.

If you had an earlier implementation#

  • Remove Linkwise code that had been manually entered into the theme, plugin header/footer or Google Tag Manager. Otherwise the code will run twice.
  • If you upgrade from an old version, your settings are maintained.

Next step: introduction of the authorisation.

Article: Installation and activation →

3. Import license

Where License key enters the Linkwise Affiliate Advertiser plugin, how it is activated for your domain and how updates come in.

Where does License key enter?#

On top of the WooCommerce page → Settings → Integration → Linkwise Affiliate there is the box Activate for Update.

  1. Copy License key from your OBS account.
  2. Paste it in the field Enter Validation Key, no gaps at the beginning or at the end.
    The "Activate for Update" box with the "Enter Validation Key" field and the "Activate" button highlighted
    The key is attached to the field and activated with "Activate" (a sample is shown in the photograph).
  3. Press Activate. The button says Validating... for a few seconds and a message appears with the result.
  4. Renewal the page. If the license is active, the box is no longer displayed.

What the license activates#

The license records the shop domain and connects the plugin to the OBS updates. New versions appear in Plugins like any WordPress update. Keep the license active: versions 1.3.3 and 1.3.4 brought corrections to the amounts sent to Linkwise.

Change domain#

  • A License key corresponds to a domain.
  • If you move the store to a new domain or create a new site, the license needs a new activation. Ask for the transfer from OBS support and then repeat the above steps.
  • For more stores or multisite, contact us.

Article: Enter your licence key →

4. Connect to Linkwise

What data does Linkwise give you for tracking (Program ID, decimal separator) and which fields of plugin enter.

What you need from Linkwise#

When Linkwise approves your partnership as advertiser, it sends you the implementation specifications and the program elements. For the plugin you need two:

  • Program ID: the number of your program. In Linkwise's instructions it appears as program ID as given by Linkwise.
  • Decimal divider: Party (,) or period (.It must be the same as you told Linkwise.

Where do you fill them out?#

  1. Open WooCommerce → Settings → Integration → Linkwise Affiliate.
  2. The Linkwise Program ID write the Program ID.
  3. The Decimal Seperator write only the character , or ..
    The ‘Linkwise Program ID’ and ‘Decimal Seperator’ fields completed and highlighted on the Linkwise configuration page
    The ‘Linkwise Program ID’ and ‘Decimal Seperator’ fields (here with a sample of values).
  4. Press Save Changes.

What the plugin does with them#

Program ID and divider enter command setProgram and setDecimal In party, all amounts are written by party, e.g. 20,16With a period of time, 20.16.

After setting#

Make one. test order and send her number to Linkwise. Linkwise checks the implementation before it activates the program.

Article: Linkwise →

5. Plugin Settings

All fields of the Linkwise Affiliate page in WooCommerce, what each does and which no longer affect tracking.

Where are they?#

WooCommerce → Settings → Integration → Linkwise Affiliate (admin.php?page=wc-settings&tab=integration&section=linkwise_affiliate). The page is titled Linkwise Affiliate and description It adds Linkwise Affiliate code..

Linkwise Affiliate configuration page on WooCommerce's "Incorporation" tab, with Program ID fields, Decimal Sepperator, Number of Products per Page and Default VAT Percent
The "Linkwise Affiliate" page in the "Integration" tab of the settings.

Licence#

ElementWhat's he doing?
Activate for Update → Enter Validation Key → ActivateEnables License key for domain and updates. It only appears as long as the license is not active.

Fields#

FieldWhat you fill outEffect
Linkwise Program IDProgram ID from Linkwise.Enters into setProgram all codes. Without this Linkwise does not recognize the store.
Decimal Seperator, or .Enters into setDecimal and determines how the amounts are written.
Number of Products per PageNumber of products per page.They were used by the old retargeting codes, which are disabled. At 1.3.4 does not affect tracking.
Default VAT PercentVAT rate.At 1.3.4 does not change the amounts: net prices come from WooCommerce. It can be left empty.

After each change press Save Changes.

What's not regulated here?#

  • Payout per product is defined in the product itself (see Annex I). Payout per product).
  • VAT is regulated in WooCommerce → Settings → Tax.
  • The duration of the cookie (30 days) is stable.

Article: Plugin settings →

6. When does the code load?

How Linkwise plugin attribution works: utm_source=linkwise parameter, 30-day cookie and delete it for Skroutz and BestPrice.

Only for visitors from Linkwise#

Linkwise code does not load on every visitor. Loading when one of the two applies:

  • the page address has the parameter utm_source=linkwise, which add the links of affiliates;
  • the visitor already has the cookie linkwise from a previous visit.
  1. The visitor press link affiliate and arrives with utm_source=linkwise.
  2. The plugin writes the cookie linkwise with a duration of 30 days.
  3. On each page it loads the tl.js Linkwise to your Program ID.
  4. If the same visitor buys within 30 days, the sale is sent to the completion page.

When the visitor comes from another channel#

If the visitor returns later from Skroutz (with the parameter skr_prm) or by BestPrice (with ref=bestprice.grSo the sale is not credited to Linkwise when it was brought to another channel.

What that means for control#

  • On a simple visit to the site you will not find Linkwise code. This is expected.
  • To check, open the site in an anonymous window with ?utm_source=linkwise at the end of the address.
  • If Linkwise reports that does not load code, ask to check through her link.
  • In management and AJAX requests the code never loads.

Article: When does the code load →

7. Test order

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

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.

Article: Test order →

8. Amounts, VAT and coupons

How Linkwise plugin calculates net prices, coupon discount and decimals, and what should be set at WooCommerce.

What Linkwise wants#

Linkwise calculates the commission at net value: unit price without VAT, before coupons and basket discounts, and discount coupon separately, also without VAT.

What the plugin sends (version 1.3.4)#

ElementWhere's it coming from?
price per productNet subset of the line at WooCommerce for quantity (excluding VAT, before coupons).
quantityThe amount of the line.
setCouponThe total discount of the order without VAT.
CurrencyAlways EUR (code 978).

The amounts shall be written with up to 4 decimals, without unnecessary zeros, with a party or dot depending on the Decimal Seperator.

What should apply to WooCommerce#

  1. In WooCommerce → Settings → Generally checked Enable taxes and tax calculations.
    The field ‘Tax Energisation’ in the ‘General’ tab of WooCommerce settings, checked
    The check "Activating taxes and tax calculations".
  2. In Tab Tax, in selection Prices are imported by tax, it has been declared whether the prices are registered with or without VAT.
    The ‘Tax’ tab of WooCommerce settings with the field ‘Prices imported by tax’ highlighted
    The declaration whether the prices are registered with or without tax (in Greek: Tax tab).
  3. There are the VAT rates you use (e.g. 24%, 13%, 6%).
    The "Key Factors" page of the Tax Card with the VAT rate 24% for Greece
    The VAT rates you use (here are the basic rates).

If taxes are not regulated, WooCommerce has no net value and the price will be sent as it is registered. Field Default VAT Percent does not correct it to 1.3.4.

Previous publications#

Publications before 1.3.3 could remove VAT twice or send the wrong coupon value. If Linkwise reports such errors, update to 1.3.4 and make new ones test order.

Article: Amounts, VAT and coupons →

9. Payout per product

How you set different payout per product in Linkwise tracking with the field _linkwise_payout_value and what is sent when missing.

What is payout?#

Each line sent to Linkwise has a value payout, showing which supply agreement the product is calculated. It is used when you have agreed with Linkwise a different supply for certain products or categories.

How the value is selected#

  1. If the product has a value in the field (meta) _linkwise_payout_value, she's being sent.
  2. If it is a variant without its own value, the value of the parent product shall be used.
  3. If there is no value, default is sent 1. Exemption: products without price whose name contains session or Conference take 2. If this does not fit your store, explicitly set the price on the product.

Party values are converted into dots (e.g. 2,5 → 2.5) and the non-numerical characters are removed.

How to set the value#

Field starts with lower dash, so it does not appear in the box Custom Fields of the product page. The practical ways are:

  • Insert WooCommerce CSV with column Meta: _linkwise_payout_value·
  • a mass processing or import tool that writes product meta;
  • a little code with filter obs_linkwise_item_payout (see page For developers).

Before changing prices, confirm with Linkwise which payout prices your schedule has. The initial matching can be done by OBS.

Article: Payout per product →

10. Cookies and consent

Which cookie writes the Linkwise plugin, how long it lasts, which scripts it loads and what to notice in the cookie banner and cookies policy.

What the plugin says#

ElementQuotation
Cookie Namelinkwise
Content1 (does not contain personal information)
Duration30 days, for the entire site
When to writeWhen the visitor arrives with utm_source=linkwise
When deletedWhen the visitor comes with skr_prm (Skroutz) or ref=bestprice.gr

Scripts loaded#

  • go.linkwi.se/delivery/js/tl.js on the pages, only for visitors from Linkwise.
  • go.linkwi.se/delivery/js/tlwt.js and a pixel acl.php on the completion page.

Linkwise scripts may also write their own cookies. For their list please consult Linkwise.

Consent#

The plugin writes the cookie from the server, at the time of the visit, and is not automatically connected to your cookie banner.

  1. Report the cookie linkwise and Linkwise scripts in cookies policy.
  2. Set up the consent based on the policy of the store and the advice of your legal advisor.
  3. If the consent tool blocks scripts, check that it does not block the completion code to consenting customers. Otherwise their sales are not recorded.

After every change in the cookie banner, make a new test order.

Article: Cookies and consent →

11. Cache and payment methods

Cache, lazy load and payment modes settings for Linkwise tracking to record every purchase, and with card payment.

Page cache#

The cookie is written by PHP at the time of the visit. If the entry page is served by page cache or CDN, PHP does not run and the cookie is not written. Then the purchase is not credited to Linkwise.

  1. In the plugin cache you use, exclude from cache the URLs with utm_source=linkwise.
  2. If plugin cache ignores parameters utm_* to serve the same page, exclude it utm_source from this list.
  3. Empty the cache and test in an anonymous window.

Lazy load and optimization#

  • The pixel in <noscript> marked no-lazy, skip-lazy and data-no-lazy, so you stay in src.
  • If Linkwise sees data-src, exclude it go.linkwi.se from the lazy load.
  • If you join or delay JavaScript, exclude them tl.js, tlwt.js and the code lw(...).

Methods of payment#

Complete code runs on page Order received WooCommerce.

  • Cash on delivery, bank deposit: The client gets there directly.
  • Card or PayPal redirected: the customer must return to the completion page. If the return requests connection or ends on another page, the purchase is not recorded.
  • Custom thanks-you pages: if a plugin sends the customer to its own page instead of the WooCommerce completion page, the code does not run.

Try every payment you use with a small real or test transaction.

Article: Cache and payment modes →

12. For developers

Filter obs_linkwise_item_payout, meta _linkwise_payout_value and WordPress points where Linkwise plugin adds code.

Filter for payout#

The obs_linkwise_item_payout accepts the payout price of each line, order line and product. Example for payout 2 in a category:

add_filter('obs_linkwise_item_payout', function ($payout, $item, $product) { if ($product && has_term('therapeies', 'product_cat', $product->get_parent_id() ?: $product->get_id())) { return '2'; } return $payout; }, 10, 3);

The value you return is sent as it is, so you return number in text format with dot.

Product Meta#

  • _linkwise_payout_value: Payout price in product or variant. If missing from variant, read from parent.

Entry points#

HookWhat's he doing?
initWrites or deletes cookie linkwise.
wp_headLoads the tl.js with setProgram and setDecimal.
woocommerce_thankyouPrints the completion code for the order.
woocommerce_integrationsIntegration Registers linkwise_affiliate.

Settings at Foundation#

Settings are stored as WooCommerce input settings (lw_program_id, lw_decimal_separator, lw_posts_per_page, lw_default_vat_rate). The plugin states compatibility with HPOS and reads orders with wc_get_order().

Tests#

ZIP contains light tests (php tests/run-linkwise-tests.php) for VAT, decimals, payout and attribution.

Article: For developers →

13. Common problems

The most common problems in Linkwise tracking for WooCommerce, from real support requests: symptom, cause and solution.

‘Code does not load on pages’#

Reason: the code only loads for visitors from Linkwise link. Solution: Check me out. ?utm_source=linkwise and ask Linkwise to do the same. When does the code load?.

‘No purchases recorded’#

Reason: page cache on the entry page, payment that does not return to the completion page or cookie banner that blocks the scripts. Solution: See Cache and payment methods and repeat test order.

‘Fault or VAT deducted twice’#

Reason: version before 1.3.3 or taxes not regulated at WooCommerce. Solution: information on 1.3.4 and VAT regulation. The Default VAT Percent does not change amounts.

"The value of the coupon is wrong"#

Reason: old version that sent the VAT discount. Solution: 1.3.4 sends the net discount; check it out setCoupon in a new order with a coupon.

"How much with a period while we declared a party"#

Solution: write exactly , The Decimal Seperator and store.

"Fatal error on completion page"#

Reason: old version in younger PHP or WooCommerce. Solution: update at 1.3.4. If the site does not open, temporarily disable the plugin and contact us.

"Two Linkwise Codes Run"#

Reason: old manual code on theme, plugin header/footer or Tag Manager. Solution: Remove him.

"Noscript pixel has data-src"#

Solution: exclude it go.linkwi.se from the lazy load.

"I don't find the plugin or key" / "Asked new activation on a new site"#

Solution: Download them from your account or open a ticket. For a new domain request permission transfer.

You didn't find a solution? Open ticket with the plugin version, the number of a test order and the message of Linkwise.

Article: Common issues →