Usually it’s done through advertising trackers or campaigns.
Unfortunately each affiliate program seems to like it’s own jargon and slightly different way of doing things – but on almost every program I belong too there is a method of differentuating between different sites.
It just depends on who you’re with as to how it’s actually done.
Your helpful affiliate managers should be able to explain the best way to track in each program. Email them.
:satisfied