I've got it up and running, it's working on POST. Unfortunately, not on WC. :/ Do you know of any plugin that would edit links for WC?
I've tried the plugin "
WooCommerce Cloak Affiliate Links", unfortunately it only works on something in WC e.g. https://mag.grafan.cz/produkt/privesek-0750-02-boccia-titanium/ , KOUPIT PRODUKT works, but below that the BUY NOW button doesn't work anymore.