A piece of code that is stored on a user’s browser to track how a user interacts with a website or advertisement for a website, and to store user information such as username, language preference, etc.