To exclude OAuth referrer from Google Analytics, you can do so by setting up a referral exclusion. This can be done by going to your Google Analytics account, navigating to the Admin section, selecting the property for which you want to exclude the referrer, and then clicking on "Tracking Info" followed by "Referral Exclusion List." From there, you can add the OAuth referrer URL that you want to exclude from being tracked in your Google Analytics data.