Cookies are text files containing a small amount of data that an internet browser receives from a web server and stores on your computer in the format: name – value. The data are sent back to the web server during your next visit of the same website. This means that a website temporarily remembers certain actions made by you on it and you need not enter the same data again. Cookies are commonly used, for example, to save the content of a shopping cart on an online shopping site and to save other user preferences associated with browsing through a website. We differentiate two basic types of cookies: first-party (own) and third-party (owned by other parties).
- First-party they are created during the initial loading of a website and the first interaction with the website operator's server. They store, among other information, data on the selected colour scheme, web resolution, language settings, as well as a number of other parameters. The values are created by the visited website. The data are used only by the website, which stored them in the cookies.
- Third-party they are set by a domain other than the website domain visited by the user. They are usually created while browsing through a website and viewing various advertising banners. After a banner is loaded and read, interaction with a third-party server takes place and this third party marks the user with the aid of cookies, which may be subsequently arbitrarily monitored whenever the user accesses another website with the same banner.