Google Analytics employs first-party cookies in a Javascript script that is added to each page of your website. This enables you to track user behavior on your website, but it relies on third-party cookies from third-party sites to scrape referral data.