I added the URLReferrerWithQuery option, and this now records the referrals properly. However, I've now hit a new problem. Is there any way to strip certain parameters from referral URL's? There is a "URLWithQueryWithoutFollowingParameters" option, but this only works for clicked URL's on my site, not referers.
What I'd like to do is strip out the various session ID's from referrals. Right now, I have a nice-sized chunk of referrals from various things along the lines of: