My payment gateways show up as referrals in Google Analytics. I've read a bit about it, and it looks like there are two options to fix this:
- Adding an entry to the Referral Exclusion List in Google Analytics admin page. (works with Google Universal Analytics)
- Attach
utm_nooverride=1to the URL of the payment gateway return page. Apparently this is not a solution for Google Universal Analytics.
This article does a good job of explaining the issue.
I would like to know if there is another alternative, because I am managing 600+ Analytics accounts that need this fix, and manually updating the Referral Exclusion List for each account will take a lot of time. I need an alternative similar to option #2, where I can have a URL parameter or where I can send some kind of settings to analytics.js just before it tracks the pageview, telling it to ignore the referral.