@PortChuck it is basically an website implementation question rather than AEM specific question.
Are you getting any campaign ID or any other specific query parameters from media sources when they click aem site link? If yes, use javascript to pass along that information to all subsequent down stream systems.
If no, then use JS to get referrer and build logic to determine the media and pass along information to down stream systems.