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#
- Installation and activation
- Import license
- Linkwise: Program ID and decimal
- Plugin Settings
- When does the code load: attribution and cookie
- Test order and recording check
- Amounts, VAT and coupons
- Payout per product
- Cookies and consent
- Cache, lazy load and payment modes
- For developers
- Common problems
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#
- In the management of WordPress go to Plugins → Add Add Add Add (page opens with title Add Plugins).
- Press Transhipment Plugin, select ZIP and press Install Now.

Transhipment of ZIP from Plugins → Add new → Upload plugin. - Press Enable. In the list appears as OBS Woocommerce Linkwise.

The ‘Activation’ link under the name of the plugin. - Press the link Settings under the name. WooCommerce page opens → Settings → Integration → Linkwise Affiliate.

The ‘Settings’ link appears after activation.

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.
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.
- Copy License key from your OBS account.
- Paste it in the field Enter Validation Key, no gaps at the beginning or at the end.

The key is attached to the field and activated with "Activate" (a sample is shown in the photograph). - Press Activate. The button says Validating... for a few seconds and a message appears with the result.
- 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.
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?#
- Open WooCommerce → Settings → Integration → Linkwise Affiliate.
- The Linkwise Program ID write the Program ID.
- The Decimal Seperator write only the character
,or..
The ‘Linkwise Program ID’ and ‘Decimal Seperator’ fields (here with a sample of values). - 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.
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§ion=linkwise_affiliate). The page is titled Linkwise Affiliate and description It adds Linkwise Affiliate code..

Licence#
| Element | What's he doing? |
|---|---|
| Activate for Update → Enter Validation Key → Activate | Enables License key for domain and updates. It only appears as long as the license is not active. |
Fields#
| Field | What you fill out | Effect |
|---|---|---|
| Linkwise Program ID | Program 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 Page | Number 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 Percent | VAT 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.
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
linkwisefrom a previous visit.
How the cookie works#
- The visitor press link affiliate and arrives with
utm_source=linkwise. - The plugin writes the cookie
linkwisewith a duration of 30 days. - On each page it loads the
tl.jsLinkwise to your Program ID. - 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=linkwiseat 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.
7. Test order
How do you check that Linkwise tracking records purchases: visit with utm_source=linkwise, order and check the completion code.
Steps#
- Open a new anonymous window so that there are no old cookies.
- Visit the store with
?utm_source=linkwise, e.g.https://www.example.gr/?utm_source=linkwise. - Open source code (Ctrl+U) and find it
go.linkwi.se/delivery/js/tl.jsand thelw("setProgram", …)with your Program ID.
The source code shows the tl.jsand orderssetProgramandsetDecimal. - Put in the basket a simple and variable product. If you want to check the coupon, use a discount coupon.
- Place the order using a payment method that does not charge a card, such as cash on delivery or bank deposit.
- Page Order received Open the source code again.

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, withid(for variant, the ID of variant),price,quantityandpayout. - The
lw("setCoupon", …)with the net discount or 0. - The
lw("thankyou", …)with the order number,status: "pending"andcurrency: "978". - A pixel
acl.phpwithin<noscript>.

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#
- Send Linkwise the order number to confirm the record.
- Cancel the test order at WooCommerce.
- Repeat in a new anonymous window without the parameter: there the code should not be displayed.
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)#
| Element | Where's it coming from? |
|---|---|
| price per product | Net subset of the line at WooCommerce for quantity (excluding VAT, before coupons). |
| quantity | The amount of the line. |
| setCoupon | The total discount of the order without VAT. |
| Currency | Always 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#
- In WooCommerce → Settings → Generally checked Enable taxes and tax calculations.

The check "Activating taxes and tax calculations". - In Tab Tax, in selection Prices are imported by tax, it has been declared whether the prices are registered with or without VAT.

The declaration whether the prices are registered with or without tax (in Greek: Tax tab). - There are the VAT rates you use (e.g. 24%, 13%, 6%).

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.
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#
- If the product has a value in the field (meta)
_linkwise_payout_value, she's being sent. - If it is a variant without its own value, the value of the parent product shall be used.
- If there is no value, default is sent
1. Exemption: products without price whose name contains session or Conference take2. 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.
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#
| Element | Quotation |
|---|---|
| Cookie Name | linkwise |
| Content | 1 (does not contain personal information) |
| Duration | 30 days, for the entire site |
| When to write | When the visitor arrives with utm_source=linkwise |
| When deleted | When the visitor comes with skr_prm (Skroutz) or ref=bestprice.gr |
Scripts loaded#
go.linkwi.se/delivery/js/tl.json the pages, only for visitors from Linkwise.go.linkwi.se/delivery/js/tlwt.jsand a pixelacl.phpon 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.
- Report the cookie
linkwiseand Linkwise scripts in cookies policy. - Set up the consent based on the policy of the store and the advice of your legal advisor.
- 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.
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.
- In the plugin cache you use, exclude from cache the URLs with
utm_source=linkwise. - If plugin cache ignores parameters
utm_*to serve the same page, exclude itutm_sourcefrom this list. - Empty the cache and test in an anonymous window.
Lazy load and optimization#
- The pixel in
<noscript>markedno-lazy,skip-lazyanddata-no-lazy, so you stay insrc. - If Linkwise sees
data-src, exclude itgo.linkwi.sefrom the lazy load. - If you join or delay JavaScript, exclude them
tl.js,tlwt.jsand the codelw(...).
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.
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#
| Hook | What's he doing? |
|---|---|
init | Writes or deletes cookie linkwise. |
wp_head | Loads the tl.js with setProgram and setDecimal. |
woocommerce_thankyou | Prints the completion code for the order. |
woocommerce_integrations | Integration 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.
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.