How to create short-links for 3rd party link-shortener
Step 1: Get your desired landing page from Shopee.
For example: https://shopee.sg/LEGO%C2%AE-Icons-Vespa-125-10298-Building-Kit-(1-106-Pieces)-i.68475578.16725783155
Step 2: Encode your landing page.
For example: https%3A%2F%2Fshopee.sg%2FLEGO%25C2%25AE-Icons-Vespa-125-10298-Building-Kit-(1-106-Pieces)-i.68475578.16725783155
Step 3: Add https://{domain}/an_redir?origin_link= in front of your encoded landing page.
For example: https://s.shopee.sg/an_redir?origin_link=https%3A%2F%2Fshopee.sg%2FLEGO%25C2%25AE-Icons-Vespa-125-10298-Building-Kit-(1-106-Pieces)-i.68475578.16725783155
Step 4: Add ?&affiliate_id={affiliate id} and &sub_id={value1}-{value2}-{value3}-{value4}-{value5} parameter behind the encoded link.
For example: https://s.shopee.sg/an_redir?origin_link=https%3A%2F%2Fshopee.sg%2FLEGO%25C2%25AE-Icons-Vespa-125-10298-Building-Kit-(1-106-Pieces)-i.68475578.16725783155?&affiliate_id=14354840000&sub_id=12345-aaaa-bbbb-cccc-dddd
Step 5: You can directly use the above link or you can wrap your links with a link-shortener.
For example: https://bit.ly/40Jld5K
Result: When user lands on the landing page, the final URL will be
https://shopee.sg/LEGO%C2%AE-Icons-Vespa-125-10298-Building-Kit-%281-106-Pieces%29-i.68475578.16725783155?uls_trackid=51v36iqm00qv&utm_campaign=-&utm_content=12345-aaaa-bbbb-cccc-dddd&utm_medium=affiliates&utm_source=an_14354840000&utm_term=ciun3317d6xf
*uls_trackid and utm_term value will be automatically populated by Shopee
How to create Short-link for Product Feed partners
Step 1: Download Product Feed from your Shopee Affiliate platform
Login > Creative > Product Feed
Step 2: Get product landing page from Product Short-link fields
For example: https://shope.ee/an_redir?origin_link=https%3A%2F%2Fshopee.sg%2Fproduct%2F68475578%2F27971600849
Step 3: Add https://{domain}/an_redir?origin_link= in front of your encoded landing page.
For example: https://s.shopee.sg/an_redir?origin_link=https%3A%2F%2Fshopee.sg%2Fproduct%2F68475578%2F27971600849
Step 4: Add ?&affiliate_id={affiliate id} and &sub_id={sub-publisher id}-{network click id}-{referral source}-{custom value}-{custom value} parameter behind the encoded link.
For example: https://s.shopee.sg/an_redir?origin_link=https%3A%2F%2Fshopee.sg%2Fproduct%2F68475578%2F27971600849&affiliate_id=14354840000&sub_id=12345-aaaa-bbbb-cccc-dddd
Step 5: You can directly use above link or you can wrap this link with your short link.
For example: https://bit.ly/4gydzkr
Results
When user lands on the landing page, the final URL will be:
https://shopee.sg/product/68475578/27971600849?uls_trackid=51v39uum00qv&utm_campaign=-&utm_content=12345-aaaa-bbbb-cccc-dddd&utm_medium=affiliates&utm_source=an_14354840000&utm_term=ciupoh6tkqxs
*uls_trackid and utm_term value will be automatically populated by Shopee
How to create Short-link with another layer of link wrapping
Step 1: Get your desired landing page to drive traffic to Shopee
For example: https://shopee.sg/LEGO%C2%AE-Icons-Vespa-125-10298-Building-Kit-(1-106-Pieces)-i.68475578.16725783155
Step 2: Encode your landing page
For example: https%3A%2F%2Fshopee.sg%2FLEGO%25C2%25AE-Icons-Vespa-125-10298-Building-Kit-(1-106-Pieces)-i.68475578.16725783155
Step 3: Add https://{domain}/an_redir?origin_link= in front of your encoded landing page.
For example:https://s.shopee.sg/an_redir?origin_link=https%3A%2F%2Fshopee.sg%2FLEGO%25C2%25AE-Icons-Vespa-125-10298-Building-Kit-(1-106-Pieces)-i.68475578.16725783155
Step 4: Within the redirection from your shortlink, you should add ?&affiliate_id={affiliate id} and &sub_id={sub-publisher id}-{network click id}-{referral source}-{custom value}-{custom value} parameter behind the encoded link.
For example: https://s.shopee.sg/an_redir?origin_link=https%3A%2F%2Fshopee.sg%2FLEGO%25C2%25AE-Icons-Vespa-125-10298-Building-Kit-(1-106-Pieces)-i.68475578.16725783155?&affiliate_id=14354840000&sub_id=12345-aaaa-bbbb-cccc-dddd
Step 5: Wrap this link with your short link to pass your affiliate id and sub-id tracking dynamically.
For example: https://bit.ly/40Jld5K
Result
When user lands on the landing page, the final URL will be:
https://shopee.sg/LEGO%C2%AE-Icons-Vespa-125-10298-Building-Kit-%281-106-Pieces%29-i.68475578.16725783155?uls_trackid=51v36iqm00qv&utm_campaign=-&utm_content=12345-aaaa-bbbb-cccc-dddd&utm_medium=affiliates&utm_source=an_14354840000&utm_term=ciun3317d6xf
*uls_trackid and utm_term value will be automatically populated by Shopee