there are several ways. ETags for one, another is to have all the various sites that use an ad network to send the relevant visitor fingerprint data to a central broker that correlates the information and attempts to determine that entity A and entity B are really the same person because a bunch of attributes match.