{"id":30109,"date":"2024-11-12T12:39:27","date_gmt":"2024-11-12T12:39:27","guid":{"rendered":"https:\/\/www.seobility.net\/en\/blog\/wiki\/cookie\/"},"modified":"2025-02-26T12:21:55","modified_gmt":"2025-02-26T12:21:55","slug":"Cookie","status":"publish","type":"wiki","link":"https:\/\/www.seobility.net\/en\/wiki\/Cookie","title":{"rendered":"Cookie"},"content":{"rendered":"<h2><span class=\"mw-headline\" id=\"Cookie_.E2.80.93_Definition_.26_explanation\">Cookie \u2013 Definition &amp; explanation<\/span><\/h2>\n<p>A cookie, also called an HTTP cookie or browser cookie, is data generated by a website and stored on the website user\u2019s browser. Cookies are often stored in a small file, but some browsers store cookies in different formats.\n<\/p>\n<p>Cookies make it possible for data, such as a user\u2019s login credentials or items in a user\u2019s shopping cart, to be remembered. This improves the website\u2019s <a href=\"\/en\/wiki\/User_Experience\" title=\"User Experience\">user experience<\/a>. It can also help websites monitor how visitors interact with their site.\n<\/p>\n<p>Although cookies can improve functionality and are commonly used on the web,  there has been a lot of criticism on their impact on user privacy. This has led to various legal implications and is the driving factor in the introduction of cookie notices.  Cookie notices require users to give a site permission to use cookies, protecting website owners from legal implications of privacy violations.\n<\/p>\n<p><img decoding=\"async\" alt=\"Cookie\" src=\"\/en\/wiki\/images\/b\/b3\/Firefox-cookies.png\" title=\"Screenshot of cookies in Firefox\" width=\"602\" height=\"356\" class=\"thumbborder\" \/>\n<\/p>\n<p>An example showing cookies stored in Firefox after navigating to a few large sites, including Amazon, Walmart, BBC news, and Google.\n<\/p>\n<h2><span class=\"mw-headline\" id=\"How_cookies_work\">How cookies work<\/span><\/h2>\n<p>When a user opens a website or performs an action that generates a cookie, like requesting a site to remember login details, the data is sent from the website\u2019s server to the user\u2019s browser.\n<\/p>\n<p>The cookie is then stored in the user\u2019s browser for the remaining session or for a predefined timespan. Every time the browser makes a request to the server specified in the cookie, the stored data is sent to the server. This is how login details, personalization settings, and other bits of information are remembered.\n<\/p>\n<p><img decoding=\"async\" alt=\"Cookie Syntax\" src=\"\/en\/wiki\/images\/thumb\/c\/c2\/Cookie-syntax.png\/650px-Cookie-syntax.png\" title=\"Image of cookie syntax by Mozilla\" width=\"650\" height=\"292\" class=\"thumbborder\" srcset=\"\/en\/wiki\/images\/thumb\/c\/c2\/Cookie-syntax.png\/975px-Cookie-syntax.png 1.5x, \/en\/wiki\/images\/c\/c2\/Cookie-syntax.png 2x\" \/>\n<\/p>\n<p>Cookie <a href=\"\/en\/wiki\/Syntax\" title=\"Syntax\">syntax<\/a> provided on <a rel=\"nofollow\" class=\"external text\" href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\/Set-Cookie#syntax\">MDM Web Docs<\/a> by Mozilla\n<\/p>\n<h2><span class=\"mw-headline\" id=\"What_cookies_are_used_for\">What cookies are used for<\/span><\/h2>\n<p>Cookies have a variety of uses, from tracking and analytical uses to functional uses. Below are a few of the most common uses of cookies.\n<\/p>\n<ul>\n<li> Remembering login details like username and password<\/li>\n<li> Customizing content for the user<\/li>\n<li> Remembering user preferences (language, theme, etc.)<\/li>\n<li> Monitoring website traffic<\/li>\n<li> Tracking users on a website<\/li>\n<li> Tracking users across the web<\/li>\n<\/ul>\n<h2><span class=\"mw-headline\" id=\"Session_cookies\">Session cookies<\/span><\/h2>\n<p>Session cookies are cookies that are deleted after a browsing session. These cookies can prevent an eCommerce site from emptying your cart while you\u2019re shopping or prevent you from being logged out while using a site.\n<\/p>\n<h2><span class=\"mw-headline\" id=\"Permanent_cookies\">Permanent cookies<\/span><\/h2>\n<p>Permanent cookies stay on your browser for the timeframe mentioned in the cookie. This allows websites to remember your login details or remember your preferred settings.\n<\/p>\n<h2><span class=\"mw-headline\" id=\"Third_party_cookies\">Third party cookies<\/span><\/h2>\n<p>Third-party cookies are cookies created by third-party websites, not the site a user visits. Third-party cookies generally come from advertising networks, like <a href=\"\/en\/wiki\/Google_AdSense\" title=\"Google AdSense\">Google AdSense<\/a>. However, certain analytics services, including <a href=\"\/en\/wiki\/Google_Analytics\" title=\"Google Analytics\">Google Analytics<\/a>, also require third-party cookies to function correctly.\n<\/p>\n<p>Third-party cookies send data to a third party when the website a user is visiting makes a request to the third party\u2019s server. They\u2019re commonly used for cross-site tracking, allowing advertisers to track users across websites.\n<\/p>\n<p>Since users started noticing highly personalized ads following them across sites, third-party cookies have become susceptible to criticism.\n<\/p>\n<h2><span class=\"mw-headline\" id=\"Google_.26_third-party_cookies\">Google &amp; third-party cookies<\/span><\/h2>\n<p>In 2021, Google announced they will be moving away from third-party cookies.<sup id=\"cite_ref-1\" class=\"reference\"><a href=\"#cite_note-1\">&#91;1&#93;<\/a><\/sup> This marked the beginning of a switch towards an increased focus on user privacy on the web.\n<\/p>\n<p>Instead of using cookies to track individual users, Google plans on grouping people based on their interests by using Federated Learning of Cohorts (FLoK)<sup id=\"cite_ref-2\" class=\"reference\"><a href=\"#cite_note-2\">&#91;2&#93;<\/a><\/sup>, eliminating the need to track individuals. This reduces the risks that come with individual tracking while still allowing advertisers to target their ads.\n<\/p>\n<h2><span class=\"mw-headline\" id=\"Cookies_and_privacy\">Cookies and privacy<\/span><\/h2>\n<p>Tracking website users through cookies has been a controversial topic for the past few years. Data protection laws have been enacted in many countries to protect user privacy.\n<\/p>\n<p>The GDPR in the EU and the Data Privacy Law in the US, among many others, are examples of laws created to protect internet users\u2019 privacy. The use of cookie notices is just one of many changes made by companies to avoid privacy violations, forcing website owners to get permission before placing cookies on a user\u2019s browser.\n<\/p>\n<h2><span class=\"mw-headline\" id=\"Importance_in_SEO_and_marketing\">Importance in SEO and marketing<\/span><\/h2>\n<p>Cookies are an important part of improving a website\u2019s user experience. For example, remembering what a user adds to their shopping cart or keeping a user logged in while using a site creates a better user experience.\n<\/p>\n<p>Cookies also help monitor how users interact with a site, making website analytics possible. New technologies, however, may find an alternative tracking method to cookies as privacy concerns continue to grow.\n<\/p>\n<p>Understanding what cookies are and how they work allows SEOs and marketers to stay ahead of the game regarding changes made by third parties. It also helps build a better understanding of where the data used in analytics software or advertising comes from.\n<\/p>\n<p>On top of this, cookies are an important focal point in data protection legislation around the world. Understanding what they are and how they work makes it much easier to comply with legislation and protect users\u2019 privacy.\n<\/p>\n<h2><span class=\"mw-headline\" id=\"References\">References<\/span><\/h2>\n<ol class=\"references\">\n<li id=\"cite_note-1\"><span class=\"mw-cite-backlink\"><a href=\"#cite_ref-1\">\u2191<\/a><\/span> <span class=\"reference-text\"><a rel=\"nofollow\" class=\"external text\" href=\"https:\/\/blog.google\/products\/ads-commerce\/a-more-privacy-first-web\/\">Charting a course towards a more privacy-first web<\/a> Google Ads &amp; Commerce Blog. Retrieved 17 March 2021.<\/span>\n<\/li>\n<li id=\"cite_note-2\"><span class=\"mw-cite-backlink\"><a href=\"#cite_ref-2\">\u2191<\/a><\/span> <span class=\"reference-text\"><a rel=\"nofollow\" class=\"external text\" href=\"https:\/\/blog.google\/products\/ads-commerce\/2021-01-privacy-sandbox\/\">Building a privacy-first future for web advertising<\/a> Google Ads &amp; Commerce Blog.<br \/>\nRetrieved 17 March 2021.<\/span>\n<\/li>\n<\/ol>\n<h2><span class=\"mw-headline\" id=\"Related_links\">Related links<\/span><\/h2>\n<ul>\n<li> <a rel=\"nofollow\" class=\"external free\" href=\"https:\/\/martechtoday.com\/the-death-of-cookies-and-the-threat-to-digital-marketing-243342\">https:\/\/martechtoday.com\/the-death-of-cookies-and-the-threat-to-digital-marketing-243342<\/a><\/li>\n<li> <a rel=\"nofollow\" class=\"external free\" href=\"https:\/\/www.cookielaw.org\/the-cookie-law\/\">https:\/\/www.cookielaw.org\/the-cookie-law\/<\/a><\/li>\n<\/ul>\n<h2><span class=\"mw-headline\" id=\"Similar_articles\">Similar articles<\/span><\/h2>\n<ul>\n<li> <a href=\"\/en\/wiki\/Tracking_Pixels\" title=\"Tracking Pixels\">Tracking Pixels<\/a><\/li>\n<li> <a href=\"\/en\/wiki\/Website_Traffic\" title=\"Website Traffic\">Website Traffic<\/a><\/li>\n<\/ul>\n<p><script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"Article\",\n  \"author\": {\n    \"@type\": \"Organization\",\n    \"name\": \"Seobility\",\n    \"url\": \"https:\/\/www.seobility.net\/\"\n  }\n}\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cookie \u2013 Definition &amp; explanation A cookie, also called an HTTP cookie or browser cookie, is data generated by a website and stored on the website user\u2019s browser. Cookies are often stored in a small file, but some browsers store cookies in different formats. Cookies make it possible for data, such as a user\u2019s login [&hellip;]<\/p>\n","protected":false},"author":38,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-30109","wiki","type-wiki","status-publish","hentry","wiki_categories-web-development"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is a Cookie? - Seobility Wiki<\/title>\n<meta name=\"description\" content=\"A cookie is a small file generated by a website that is stored on the website user\u2019s browser. Learn more\u2026\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.seobility.net\/en\/wiki\/Cookie\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is a Cookie? - Seobility Wiki\" \/>\n<meta property=\"og:description\" content=\"A cookie is a small file generated by a website that is stored on the website user\u2019s browser. Learn more\u2026\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seobility.net\/en\/wiki\/Cookie\" \/>\n<meta property=\"og:site_name\" content=\"Seobility\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/seobility.net\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-26T12:21:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.seobility.net\/wp-content\/uploads\/2025\/06\/seobility-og-image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@seobility_net\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"ScholarlyArticle\",\"@id\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/wiki\\\/Cookie#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/wiki\\\/Cookie\"},\"author\":{\"name\":\"Seobility Wiki Team\",\"@id\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/#\\\/schema\\\/person\\\/c838e66a3b46262b4c963df5cd5b2d8a\"},\"headline\":\"Cookie\",\"datePublished\":\"2024-11-12T12:39:27+00:00\",\"dateModified\":\"2025-02-26T12:21:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/wiki\\\/Cookie\"},\"wordCount\":870,\"commentCount\":0,\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.seobility.net\\\/en\\\/wiki\\\/Cookie#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/wiki\\\/Cookie\",\"url\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/wiki\\\/Cookie\",\"name\":\"What is a Cookie? - Seobility Wiki\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/#website\"},\"datePublished\":\"2024-11-12T12:39:27+00:00\",\"dateModified\":\"2025-02-26T12:21:55+00:00\",\"description\":\"A cookie is a small file generated by a website that is stored on the website user\u2019s browser. Learn more\u2026\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/wiki\\\/Cookie#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.seobility.net\\\/en\\\/wiki\\\/Cookie\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/wiki\\\/Cookie#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Wiki\",\"item\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/wiki\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Cookie\",\"item\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/wp-json\\\/wp\\\/v2\\\/wiki\\\/30109\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/\",\"name\":\"Seobility\",\"description\":\"Online SEO Software &amp; Tools For Better Rankings\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/#\\\/schema\\\/person\\\/c838e66a3b46262b4c963df5cd5b2d8a\",\"name\":\"Seobility Wiki Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.seobility.net\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/Seobility-S-2025-150x150.png\",\"url\":\"https:\\\/\\\/www.seobility.net\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/Seobility-S-2025-150x150.png\",\"contentUrl\":\"https:\\\/\\\/www.seobility.net\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/Seobility-S-2025-150x150.png\",\"caption\":\"Seobility Wiki Team\"},\"description\":\"The Seobility Wiki team consists of seasoned SEOs, digital marketing professionals, and business experts with combined hands-on experience in SEO, online marketing and web development. All our articles went through a multi-level editorial process to provide you with the best possible quality and truly helpful information. Learn more about the people behind the Seobility Wiki.\",\"url\":\"https:\\\/\\\/www.seobility.net\\\/en\\\/blog\\\/author\\\/seobility-wiki-team\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is a Cookie? - Seobility Wiki","description":"A cookie is a small file generated by a website that is stored on the website user\u2019s browser. Learn more\u2026","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.seobility.net\/en\/wiki\/Cookie","og_locale":"en_US","og_type":"article","og_title":"What is a Cookie? - Seobility Wiki","og_description":"A cookie is a small file generated by a website that is stored on the website user\u2019s browser. Learn more\u2026","og_url":"https:\/\/www.seobility.net\/en\/wiki\/Cookie","og_site_name":"Seobility","article_publisher":"https:\/\/www.facebook.com\/seobility.net\/","article_modified_time":"2025-02-26T12:21:55+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.seobility.net\/wp-content\/uploads\/2025\/06\/seobility-og-image.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@seobility_net","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"ScholarlyArticle","@id":"https:\/\/www.seobility.net\/en\/wiki\/Cookie#article","isPartOf":{"@id":"https:\/\/www.seobility.net\/en\/wiki\/Cookie"},"author":{"name":"Seobility Wiki Team","@id":"https:\/\/www.seobility.net\/en\/#\/schema\/person\/c838e66a3b46262b4c963df5cd5b2d8a"},"headline":"Cookie","datePublished":"2024-11-12T12:39:27+00:00","dateModified":"2025-02-26T12:21:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.seobility.net\/en\/wiki\/Cookie"},"wordCount":870,"commentCount":0,"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.seobility.net\/en\/wiki\/Cookie#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.seobility.net\/en\/wiki\/Cookie","url":"https:\/\/www.seobility.net\/en\/wiki\/Cookie","name":"What is a Cookie? - Seobility Wiki","isPartOf":{"@id":"https:\/\/www.seobility.net\/en\/#website"},"datePublished":"2024-11-12T12:39:27+00:00","dateModified":"2025-02-26T12:21:55+00:00","description":"A cookie is a small file generated by a website that is stored on the website user\u2019s browser. Learn more\u2026","breadcrumb":{"@id":"https:\/\/www.seobility.net\/en\/wiki\/Cookie#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seobility.net\/en\/wiki\/Cookie"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.seobility.net\/en\/wiki\/Cookie#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seobility.net\/en\/"},{"@type":"ListItem","position":2,"name":"Wiki","item":"https:\/\/www.seobility.net\/en\/wiki"},{"@type":"ListItem","position":3,"name":"Cookie","item":"https:\/\/www.seobility.net\/en\/wp-json\/wp\/v2\/wiki\/30109"}]},{"@type":"WebSite","@id":"https:\/\/www.seobility.net\/en\/#website","url":"https:\/\/www.seobility.net\/en\/","name":"Seobility","description":"Online SEO Software &amp; Tools For Better Rankings","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.seobility.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.seobility.net\/en\/#\/schema\/person\/c838e66a3b46262b4c963df5cd5b2d8a","name":"Seobility Wiki Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seobility.net\/wp-content\/uploads\/2025\/06\/Seobility-S-2025-150x150.png","url":"https:\/\/www.seobility.net\/wp-content\/uploads\/2025\/06\/Seobility-S-2025-150x150.png","contentUrl":"https:\/\/www.seobility.net\/wp-content\/uploads\/2025\/06\/Seobility-S-2025-150x150.png","caption":"Seobility Wiki Team"},"description":"The Seobility Wiki team consists of seasoned SEOs, digital marketing professionals, and business experts with combined hands-on experience in SEO, online marketing and web development. All our articles went through a multi-level editorial process to provide you with the best possible quality and truly helpful information. Learn more about the people behind the Seobility Wiki.","url":"https:\/\/www.seobility.net\/en\/blog\/author\/seobility-wiki-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.seobility.net\/en\/wp-json\/wp\/v2\/wiki\/30109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seobility.net\/en\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/www.seobility.net\/en\/wp-json\/wp\/v2\/types\/wiki"}],"author":[{"embeddable":true,"href":"https:\/\/www.seobility.net\/en\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seobility.net\/en\/wp-json\/wp\/v2\/comments?post=30109"}],"version-history":[{"count":0,"href":"https:\/\/www.seobility.net\/en\/wp-json\/wp\/v2\/wiki\/30109\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.seobility.net\/en\/wp-json\/wp\/v2\/media?parent=30109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}