Installing Cookies Notifications on Blogger
Through a browser, ordinary users visit various sites they want, ranging from online shopping sites, news portals, streaming movies, music, and even a collection of scientific journals.
However, have you ever noticed that when you open a site, a notification appears that the site uses cookies? The site then asks for user consent.
In fact, a number of users are often still wondering what cookies are in browsers and what effect do they have on users?
Definition of Cookies
Technically, cookies are text files containing small pieces of data that are created by the sites that users visit. In another sense, cookies on a browser are data containing traces of a user's online activities while visiting a website.
Cookies are made specifically to facilitate users' online activities by storing browsing data. A site will usually provide notification regarding the use of cookies when a new user visits the web. Here's how it looks:
Use of Cookies
The website uses HTTP cookies or browser cookies for user convenience. For example, without cookies, users would have to log in again after leaving the site.
How to install cookie notifications on blogger
If you want to install a cookie notification on the blog where the cookie notification in this article will always appear from all visitors to our blog. Here's how and the steps:
- Log in to blogger menu
- Click themes > Edit HTML
Put the cookie notification code below just above </head>
or <!--</head>--></head>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css" />
<script src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#2574a9"
},
"button": {
"background": "transparent",
"text": "#ffffff",
"border": "#ffffff"
}
},
"content": {
"href": "https://url-blog.blogspot.com/p/privacy-policy.html"
}
})});
</script>
Note: Pay attention to the cookie notification code above which is marked in red.
- Save Theme
If you want notification of cookies with other models with many designs, please visit the site cookiesconsent.osano.com HERE .
Post a Comment