Questions tagged [cookie]

An HTTP cookie is a piece of data stored by the user's web browser. Unless otherwise specified, cookies can be created, read, modified and deleted and modified both by JavaScript and from server-side scripts by reading the headers.

Filter by
Sorted by
Tagged with
1
vote
0answers
19 views

Getting the utm_source value

I've been trying to achieve following but without success. I have a task where I have to get the utm_source value and pass it to the form. As an example if user types in on google the domain and goes ...
3
votes
2answers
48 views

How can I use cookie-free domains with Microsoft Azure portal?

My website installed in the Microsoft's Azure portal. My website using asp.net and framework(sitecore cms). It's C#. I checked my website using gtmetrix. It recommends using cookie-free domains. I ...
4
votes
1answer
63 views

Cookie consent message needed for web game high score?

I'm making an online word game and I want to use a cookie to store the user's high score so it will always show it when they play the game, not just for the session. To comply with the EU GDPR do I ...
1
vote
1answer
42 views

Would a “this site uses cookies” notice be sufficient under the GDPR for cookies from other domains

I'm using a third-party analytics tool that sets a cookie to track the user for analytics purposes (for tracking conversions) as soon as the user hits the page. The analytics service does not store ...
5
votes
1answer
610 views

Cookie consent overlay - Does it affect SEO?

I have a german website with Adsense integrated. To meet Google's compliance requirements, I ask users to accept cookies for personal advertising. To achieve this, I created an overlay which stays in ...
1
vote
1answer
69 views

Can I have a cookie-less subdomain, if main website is on root domain but does not set any cookies?

Lets say I have a static website at example.com, it does not set any cookies. I have tracking on stats.example.com and a git server on git.example.com - both of which do set cookies. Static assets ...
3
votes
1answer
109 views

Does Google AdSense require a privacy politcy and cookie notification popup?

I use to run ads from AdSense a few years ago on a website but because the website was not generating profit so much I stop running the ads. Now my AdSense account has to be activated again because it ...
1
vote
2answers
60 views

What is the SEO impact of multiple redirects that return to the current page after setting a cookie?

We have a situation where we need to set a cookie on a user's session. In order to do this we currently have a series of redirects in place: Initial request > 30x to get the cookie > 30xset the ...
2
votes
2answers
124 views

Do service workers require consent under GDPR?

I notice that Chrome puts service workers, indexed databases and local/session storage under "cookies" in the site info dropdown. Are these things in any way considered ways to access personal ...
2
votes
0answers
153 views

ISP Config broke my PHP sessions and cookies [closed]

To explain my problem I have to add some context info: We have a website, it works with sessions and has been working for 7 years with no problems, except for our server administrator, he can not ...
1
vote
1answer
62 views

Google Bot Crawls using expired cookies and fails to get response

We are using a cookie on our website which is to fetch some information through an API. The cookie becomes invalid after a very small duration. Google Bot uses the same cookie again and again to ...
1
vote
1answer
710 views

Overwriting cookies in htaccess

I run a website in a quite cheap shared hosting environment (LAMP): technically speaking, in this context the only thing I can do is edit one or more htaccess files. Maybe for load balancing purposes,...
1
vote
2answers
710 views

Massive drop in Google impressions for last two months after cookie script was added for GDPR

I was checking Google Search Console and noticed that there is massive drop in Google impressions since July, not sure what could be the reason. I remember that I integrated a cookiebot.com script ...
1
vote
0answers
37 views

How do I prevent Google Analytics from sending cookies to cookie-less subdomains? [duplicate]

I'm trying to keep GA from setting cookies on static files like images. All the files concerned are loaded from cookie-free subdomains. Is there a way to exclude these subdomains from getting the ...
0
votes
1answer
19 views

Table that lists all local storage items used on site

According to the newest regulations and our law department each website our company owns/manages needs to have a page that lists all cookies and local storage items used on the site. I tried to find ...
3
votes
1answer
999 views

Do i need User consent for Google Analytics to be GDPR complaint

I am using GA on website as everyone out there does same. In order to be GDPR complaint i had used "https://cookie-script.com" script to for user consent for one of my website and i notice for last ...
2
votes
0answers
160 views

How to reset the Google Analytics cookies?

I asked this question over on StackOverflow, and someone suggested that I might have better luck here, so here it is: I am working on an app that will be running on a single touchscreen device in a ...
1
vote
0answers
30 views

How to create an opt-out link for each cookie we use on our site? [closed]

Under the new GDPR directives, we should provide ways to remove / block cookies that our sites send to the user's browsers upon user's request. How to do it? Is there some HTML/javascipt solution to ...
1
vote
0answers
281 views

Google Analytics cookies _ga and _gid still appearing in Chrome after installing a GDPR consent plugin in WordPress

Trying to get my Wordpress blog into GDPR compliance. I've got most of my cookies under control with a consent plugin (Cookie Notice) but I'm concerned about Google Analytics cookies _ga and _gid, ...
7
votes
1answer
5k views

Are session cookies exempt from consent under GDPR?

Session cookies - cookies that last only for the duration of the current session - are arguably not a tracking tool under the spirit of the EU's data protection efforts. Under old EU cookie rules, ...
1
vote
1answer
1k views

Does totally disabling cookies in my WordPress website malfunction Google Analytics?

I personally don't post any kind of external advertisements in any of my websites: Not Adsense, not anything. I just don't charge other organizations and companies to advertise in my websites and I ...
3
votes
2answers
465 views

Is it possible to block cookies that are set by externally hosted content?

Is it possible to block cookies that are set by externally hosted content embedded in a page? For example if I embed an image from a CDN, the response for this image may contain a Set-Cookie header, ...
3
votes
1answer
72 views

Should I copy Google Analytics cookies between domains, or use Google's prefered method?

I am in the process of investigating the way of moving from a current website to a new beta version, which lives on a different TLD. I am thinking about building a service that transfers a collection ...
5
votes
1answer
49 views

Visitors sending cookies that were never set by the host

Occasional visitors to my sites send one or more cookies that were never set by my hosts. Sometimes it's an obvious bot. Sometimes it's even an attempt to exploit. But occasionally it looks like a ...
2
votes
1answer
114 views

Prevent account sharing for paid membership online content

What's the best way to catch account sharers? I thought about: See how many people are currently logged in with it (cookies) See how many logins there were in the past 24 hours See how many ...
1
vote
0answers
147 views

Get cookies from a third-party site by sending login information using JavaScript

I have a website (ASP.NET) which also provides an API. But to access it, it requires login. I want to connect to this site with javascript, 'send' the user credentials to it and receive the cookies (...
2
votes
2answers
49 views

Is this document write of content fetched from another site cross site scripting or something different?

This was on a website I had to work on. It seems to me its a horrible idea, but I was hoping to get other input before I told them it was. var url = 'https://www.otherdomain.com/magic_php_file.php'; ...
1
vote
1answer
333 views

How do I set up a cookie-free subdomain when the website is on the naked domain (no “www”)?

The website (Wordpress) acts on http://example.com and sets cookies. Will http://static.example.com be cookie-free? Or http://static.example.com would be cookie-free only in case if the website acts ...
2
votes
1answer
4k views

Logged Out Too Soon; PHP Sessions Expire Too Quickly. Is this a Linux, CentOS, Cookies, CPanel problem?

Recently, I've been getting logged out sooner than expected on several websites that I manage on Linux servers. The problem started spontaneously a few months ago. At the time, I had not made any ...
6
votes
1answer
80 views

Is it required to list each cookie by name to comply with EU/UK Cookie Laws?

Some sites appear to list each cookie exhaustively, others (the majority) state only how they are used, and how a user may clear them. Do you need to list each cookie by name, together with what it ...
2
votes
1answer
2k views

What is the Google Analytics cookie expiration?

Do you know how long it takes for the Google Analytics cookie to time out before a user is recognized as new again? I believe it is 2 years. Is that right?
0
votes
2answers
1k views

Apache .htaccess: Is it possible to write an if condition for a cookie value check?

I want to write an if condition in an .htaccess file to check whether a cookie value is set. Example code: <If "%{HTTP_COOKIE} == 'cookiename and value'"> ... </If>
3
votes
2answers
62 views

Tracking users between sites using contact forms

I have two websites; A and B. I have hyperlinked linked these sites via advertisement banners and have contact forms on both. When people contact me through Website B's Contact Form I believe they are ...
4
votes
2answers
506 views

SEO Impact on presenting User details without login

I am looking to develop a functionality on our website in which i can a show user their name based on cookie data. There will be no login required. we will retrieve user's name based on the previous ...
3
votes
1answer
205 views

Fixed position age verify using cookies without user agent sniffing

I have built a simple age verification jQuery script for a particular brand of alcohol. It asks the user if they are of legal drinking age with a yes or no button. On yes the website stores a cookie ...
3
votes
2answers
2k views

How do I disable socket.io cookie named io server-side?

I needed to disable the socket.io cookie named io server-side. I follow the path to file creating the cookie to a file located at C:\socket.io\examples\chat\node_modules\socket.io\node_modules\engine....
0
votes
1answer
253 views

How to get rid of mixed content warning when using cookie-less domain for static content?

When I serve all website content from same domain (https://example.com), tools like pingdom keeps yelling: Serve static content from a cookieless domain When I serve static content from cookie-...
2
votes
2answers
1k views

Is it OK to have two “_ga” cookies in universal analytics, one for domain and one for subdomain

Our website has a number of sub-domains and we are in the process of migrating from classical analytics to universal analytics. When we migrated one of our domain from classical to universal analytics,...
6
votes
2answers
873 views

First time message/popup in site (by cookie), Googlebot and SEO

I have a site (based on dynamic content by JS) and I want to trigger a first time popup to users in order to make them register to the newsletter (it will be cookies based). Is there a way to do that ...
1
vote
2answers
114 views

Is localStorage more permanent than cookies for user identification in Google Analytics?

Looking at the Google Analytics user identification docs I found that localStorage could be used instead of cookies if a website was ran only on http or https strictly. I was looking in those docs ...
1
vote
1answer
79 views

Would cookies be of any benefit to my site(s)? Difference vs Google Analytics?

I'm managing 10 WordPress sites getting between 5-15k views a month. The company owner sees 'cookie' acceptance warnings on lots of sites he goes to and wants me to implement it across our sites (he ...
1
vote
1answer
2k views

Is a cookie prompt needed for European company websites used only internally?

I am developing a web application that is only being used internally in a company (inside EU), and it is only for the employees. Do I have to show a message to the users that my application is using ...
3
votes
1answer
294 views

Using mod_rewrite to access httpOnly cookie?

I have Apache running as a secure proxy (Port 443) between an HTTPS site and the rest of the world. This site is setting a secure, httpOnly cookie. The cookie when seen in a trace shows up in a ...
1
vote
2answers
39 views

Why are these Google cookies being downloaded?

After removing cookies in Chrome, visiting my site, and requesting chrome://settings/cookies, I get this (my site is the last entry): But since I have just removed Google Analytics script, I don't ...
0
votes
1answer
31 views

How to find the customer's visit is from the Google Results Page

As we are moving from the classic Google Analytics to the Universal Google Analytics for the marketing requirement, I need to find out from where the customer is coming from. If he is coming from the ...
3
votes
1answer
83 views

What does “Slightly longer” mean in EU cookie law?

Since my site serves worldwide users, I feel it must comply with EU laws, especially the cookie law. I have some things on my site that uses cookies to save user settings, but on the EU laws page at ...
1
vote
0answers
334 views

Is it able to disable secure attribute for Cookie on SSL connection?

There are HTTP and HTTPS page on our site on Apache. So We need to convert from HTTPS to HTTP or from HTTP to HTTPS to prevent from login session cookie fired. I already know that it does not make ...
1
vote
1answer
1k views

Using cookies on a site to redirect based on location - Googlebot crawling

I've recently began working on a Wordpress site that uses cookies to redirect a user to the appropriate regional page based on their location with geolocation. One thing I've noticed is that this ...
1
vote
0answers
73 views

Google analytics conversion tracking across subdomains

I've got a Drupal site at example.com, which leads to an ecommerce site at ticketing.example.com. Both sites have our GA code installed, and the cookiedomain for both sites is set to 'auto'. Based on ...
1
vote
1answer
24 views

Tracking users that are transferred to another site from ours?

Is it possible to track what a user does on another site after they are redirected there by your site? We run a site that sells education courses. Some of our courses are held by 3rd party companies. ...