I'm interested in finding a straightforward way to isolate a visitor's traffic source in one location in Adobe Analytics. The idea being that I can export this data and have it be as close as I can get to a "single source of truth" for what drove a visitor to the site. I am trying to avoid having to export multiple files (featuring multiple segments) and then marrying this data up in a database.
To this end, I've considered creating a "combined traffic sources" s.eVar, but am not sure if this is the best approach and am hoping that the community will weigh in. Part of the draw of using an s.eVar rather than a data warehouse request is that I can easily use the entries metric, which will take care of potential issues with internal URLs.
The general approach is the following:
- If a campaign tracking code exists in the URL, the campaign tracking code is set as the eVar value OTHERWISE
- If a campaign tracking code does not exist in the URL, then the referring domain is set as the eVar value
Does this seem like a good approach, or is there a better way? Would this be something that you'd recommend creating custom code in a tag manager, or would a processing rule suffice? Note that I am familiar with Marketing Channels, but am concerned about all the processing rules.