A cookie is a snippet of text code placed in a browser that enables a website or third party to track a user’s movements and activity on a specific site or across the web. There are two main types of cookies: First-Party Cookies and Third-Party Cookies.