Skip to content

Cache and payment methods

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

Applies to v1.3.5 Updated 4 Nov 2026 2 min read Step 11 of 13
v1.3.5 · WooCommerce 5.0+ · PHP 7.4+ Buy Support

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.

Did this article help you?
It's not solved?

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

Request support