We’re rewarding the question askers & reputations are being recalculated! Read more.

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
50 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 ...
2
votes
1answer
115 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
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 ...
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 ...
5
votes
1answer
628 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
71 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
125 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 ...
31
votes
6answers
3k views

Standard ratio of cookies to “visitors”?

As noted in a recent blog post, We see a large discrepancy between Google Analytics "visitors" and Quantcast "visitors". Also, for reasons we have never figured out, Google Analytics just gets ...
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
1k views

Google Analytics for cookie-based A/B testing (same URL for A and B)

I have a website with share-friendly URLs like example.com/register I implemented A/B testing as a cookie because I don't want ugly unsharable URLs like example.com/registerA and example.com/...
1
vote
2answers
713 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
1answer
725 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,...
9
votes
4answers
5k views

How can I tell Google Analytics to not use cookies for my sub domain?

I have my web site at example.com, and i have also setup a sub domain for serving static content at static.example.com. On my web pages I'm using Google Analytics, so it will attach its cookies to all ...
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
1k 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 ...
4
votes
4answers
4k views

SEO - Redirect on first page (example.com -> example.com/en)

I have website with multiple languages and at first entrance it checks for cookie and if no cookie is present then it defaults to English language and redirects to example.com/en. So basically every ...
2
votes
0answers
163 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 ...
12
votes
1answer
934 views

Has the EU sued any site(s) yet for not complying with their cookie “law”?

EUROPA websites must follow the Commission's guidelines on privacy and data protection and inform users that cookies are not being used to gather information unnecessarily. - source Many people find ...
1
vote
0answers
282 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, ...
12
votes
3answers
11k views

Disable __cfduid cookie from Cloudflare

Is there a Cloudflare setting that corresponds to the creation of the __cfduid session cookie? I'm currently trying out CF; mostly for the neat DNS management and the implicit CDN. But the basic WAF ...
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, ...
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>
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 ...
42
votes
4answers
22k views

Are cookie warnings still required under the EU cookie law?

Is it still required to provide a cookie warning offering users the ability to opt in/out of cookie tracking? I cannot find any official advice on what we are supposed to be doing. I'm not looking ...
2
votes
1answer
1k views

Transferring cookies between two sites (one is HTTPS)

A user comes (through a link) from a http:// site to another (having different domain) https:// site. We need to track that these two requests are done by the same user. But cookies do not pass over ...
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 ...
3
votes
2answers
468 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, ...
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,...
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 ...
1
vote
2answers
1k views

Verify 2 cookies with mod_rewrite before serving images

I have the following mod_rewrite rule, which works fine in my Apache 2.x on CentOS 6 Linux machine, but it is not complete: RewriteCond %{HTTP_COOKIE} !id RewriteCond %{REQUEST_URI} ^/sites/default/...
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....
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 (...
3
votes
2answers
4k views

What is the percentage of users that block cookies in their web browser?

What is the percentage of web users that use either cookie blocking software for their web browsers or software that blocks Google Analytics tracking?
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
334 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 ...
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 ...
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?
2
votes
1answer
2k views

How do you match a specific cookie value with Apache 2.4 <If> statement?

I am not able to figure out why the following doesn't match: <If %{HTTP_COOKIE} == 'XDEBUG_SESSION=leho'"> I'm setting a php_value inside the matching If. I know that part works because this ...
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 ...
1
vote
2answers
492 views

Temporary redirect needs to detect the URL of original page request from a search engine then redirect again to that page

When you come to my client's site, it needs to verify that you are 21 years of age of older. If you hit any page on the domain, it checks to see if the verified age cookie is set. If not, it takes ...
4
votes
1answer
1k views

Age verification in website

I am working on a website for a client that is requesting a way to verify your age. I have debated on creating a cookie that stores your age but I am unsure on a few things. How does SEO play into ...
3
votes
1answer
206 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 ...