This follows Shopee's format: destination URL → URL encoded → an_redir?origin_link= → affiliate_id + sub_id. Shopee will automatically add uls_trackid and utm_term after the user clicks.