There are various methods to use depending on the network and how they work:
Append parameter to affiliate website
Append affiliate website to URL
Replace affiliate website with URL
Replace parameters in affiliate URL
Use callback to build affiliate URL
If you need to build a unique link that...