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
2
votes
1answer
564 views

cookies and useragent is not enough ? to emulate browser?

I am building kinda a search engine for online shops, and several website are blocking me although I check the robots.txt Let's take an example, I need to get this page: http://www.aliexpress.com/...
4
votes
1answer
470 views

GA cookie data passed cross-domain from a form submission?

Hello fellow webmasters, So I have successfully set up cross domain tracking using tag manager and getting the unique clientId cookie data to be passed via URL parameter and seeing users convert in a ...
41
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
0answers
33 views

ASP.NET multilingual through cookie/URL - Google sees one version

Our website is multilingual and works through cookies/URL www.amlik.com/ar/ www.amlik.com/en/ The problem we are facing is Google sees only the arabic (default version of our site) even when ...
2
votes
1answer
87 views

A better method to save state between desktop and mobile site

This is something I want to fix for a long time. To begin, on my website I have a cookie named MDD and its set to 1 if the mobile detection has already happened. This is my code: RewriteCond %{...
1
vote
3answers
135 views

Getting user language via Google cookies

Just thought, if that would be possible, I can get users native language, and display my webpage on their language, or on the closest one. So; Is it possible to get someone's language using his/her ...
12
votes
1answer
876 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 ...
3
votes
1answer
442 views

Cookie consent messages required on websites - how will adsense work?

I ended up watching this video: https://www.youtube.com/watch?v=H5xVSXTn41Y It states that publishers have until September 30th, 2015 to add a visible message indicating about the use of cookies on ...
0
votes
1answer
117 views

Remove Session ID from Canonical URL

I have two URL's http://www.domain.com/thread.php?1234-a-brand-new-thread/page2 http://www.domain.com/thread.php?1234-a-brand-new-thread/p=54762 'p' is equal to a post on the second page, so the two ...
4
votes
3answers
270 views

MediaWiki and EU cookie consent

I own a MediaWiki website that is showing Google AdSense. As of September 30th 2015 AdSense requires compliance with the EU cookie law. The Google Adsense Team is pointing to https://www.google.com/...
2
votes
1answer
307 views

Is it possible to setup a cookie-less directory instead of a domain?

I'm familiar with how to setup a cookie-less domain, however, I have an situation where I can't setup a subdomain to store static elements. Can I set only my directories where assets are being stored ...
5
votes
1answer
895 views

Who is affected by the EU cookie law?

Every source on the web keeps telling me what the cookie law is, but not whether I have to obey it or not. So I'm asking here: who must obey the cookie law? Is a website hosted by a server physically ...
0
votes
1answer
499 views

Eliminating 'cookie' from 'vary:' without breaking website functionality

I read that some middle-man servers won't cache websites that have cookie set in the vary: header. For example, If my website issues a vary:accept-encoding,cookie as opposed to vary:accept-encoding ...
2
votes
0answers
637 views

google displays wrong language on multi language website because it takes cookies into consideration

I have a multiple language website that uses both subdomains and cookies to display the right language. Here is the logic on the website: de subdomain will display the German version fr subdomain ...
1
vote
1answer
39 views

Most widespread cookies

What are the most widespread cookies among population? One example could be _ga cookie, but are there any others public cookies that almost everyone has in his/her browser? Why am I asking? I want to ...
0
votes
1answer
265 views

What percentage of users use a cookie blocker?

I would like to know whether there is a way to get numbers on those users enabling cookie blocker. As far as I know Google Analytics is tracking you by creating cookies. Is there a way to assess the ...
2
votes
1answer
134 views

How not to use Google Analytics cookies on Blogger?

I just noticed of a blog powered by Blogger which doesn't store any cookie, and therefore, doesn't need to show the annoying cookie popup. Checking Blogger options, I don't see anywhere where to get ...
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?
1
vote
1answer
715 views

UTM-alternative for adding parameters with exiting Analytics campaign terms

I'm using the excellent UTM-alernative by dm-guy here to create a cookie and inject the campaign source into a form. However, although that works extremely well for the form, the UTM replacement /?src=...
1
vote
1answer
3k views

How to read user unique code from _ga cookie?

Currently I am facing the problem that have been discussed already here: How to keep track of a unique and an existing visitor (keep track about unique user without registration etc.). The most ...
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 ...
2
votes
1answer
64 views

Can I show a user an ad based on third-party cookies on their web browser?

Let's say I have a site that sells something. A user has no idea that my site exists, but they visit a competitor website which adds a cookie to their browser. Can I display advertising for my site ...
1
vote
1answer
50 views

Can I share a cookie with a subdomain?

Suppose I want my site to be accessible at https://www.example.com and https://example.com. Is it possible to set a cookie when visiting one domain so that it is accessible in the other?
4
votes
1answer
1k views

Website visitors with same PHP session ID, same cookies, but different IPs and user agents, all within one second. What are they and how to stop them?

We've noticed an unusual and growing pattern in visits to our website. When a user visits, we set a PHP session ID, set cookies, and record the user agent and ip. What we've seen happening a lot ...
1
vote
1answer
977 views

How does a metered paywall track its users?

A metered paywall is most seen on online newspapers. It allows users to view a specific number of articles before requiring paid subscription. In contrast to sites allowing access to select content ...
1
vote
2answers
104 views

Reasonable lifetime for a page view cookie

I have a simple page view counter on my website, that just counts the number of page views pr post. I am curious to what is a reasonable lifetime for the page view cookie. I currently have it set 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/...
4
votes
2answers
2k views

Is it possible to track URL parameters and then the value of a cookie?

I have recently launched a site for a customer which we would like to track initial visits on URLs like below via Google Analytics, and then track revisits on their respective referral code: Users ...
3
votes
1answer
396 views

SEO - Does Google properly handle hreflang tags with links that just change the language settings in a session cookie?

I am currently working on a website that is available in multiple languages. I put some effort in atomatically detecting the users preferred language. This itself is working great. I also offer ...
0
votes
1answer
612 views

Is it SEO-acceptable to do an automatic redirect based on accpept-language header value

We are launching a big international web site, that has local web sites on other domains. We are planning to configure the web site to behave in the following manner: Of a user with German (de) ...
2
votes
1answer
944 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 ...
1
vote
1answer
155 views

How to pass information across domains to ask for newsletter only once?

Lets assume following scenario, I have two sites: example1.com example2.com When user visits 1 there is a prompt "please signup to a newsletter". Same thing happens when user visits 2. However when ...
0
votes
1answer
171 views

.htaccess - redirect if visitor is logged into google

I need a .htaccess redirect rule that redirects visitors to a url only if the visitor is logged into google. I was thinking of doing it by looking into cookies RewriteEngine On RewriteCond %{...
6
votes
1answer
7k views

What happens if I try to set a cookie on a bot?

I'm building my site to include some user-identifying cookies. When a visitor chimes in, I will set a cookie with a unique visitor id (a guid) and the date-time of the visit, and save a visit record (...
3
votes
2answers
1k views

Google Tag Manager Uses iframe, is this problematic for IE?

Internet Explorer has a non-standard P3P privacy policy implementation (what a surprise). This prevents cookies from being loaded in iframes. Google Tag Manager uses an iframe. Does this cause ...
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 ...
13
votes
1answer
2k views

Do many users turn off cookies?

Just how generally prevalent is it that users have cookies disabled in their browsers? I want to set a cookie during a user's session so that all the pages know that the presence of a particular ...
1
vote
1answer
86 views

Returning visitor stats reliably over longer periods of time in Google Analytics

I'm looking into how useful returning visitors stats in Google Analytics are over longer periods of time, such as two or three years. It seems that the __utma cookie is set to expire 2 years from set/...
2
votes
2answers
427 views

Can a website require search engine robots to support cookies?

Sometimes I pretend to be a search engine robot to get access to "subscriber only" web pages, or just to get a plain and simple view of a page that isn't cluttered with moving animations and other ...
4
votes
1answer
3k views

Using .htaccess to set a cookie and 301 redirect

I currently have in my .htaccess: RewriteRule ^$ http://chfmaine.com/ [CO=moved:yes:chfmaine.com:1/,R=301,NE,NC,L] I was basing this off of this post. That's a lot more than I need but the setting ...
2
votes
2answers
3k views

Setting cookies only on the naked domain

As far as I know, one can set a cookie for example.com and not .example.com and then the cookie will only be visible on example.com and not sub.example.com. Is this true? I have set a cookie on a test ...
1
vote
1answer
126 views

Can AdSense crawler view pages that require cookies?

Details I require users to agree to terms and conditions before they can view several pages on my site. Once they have agreed a cookie is set and they can proceed to the webpage. If a user somehow ...
1
vote
3answers
5k views

What are the problems of httponly and secure cookies?

We would like to set: all our cookies (session id, etc.) as "httponly" all security (session token, "remember me", etc.) cookies as "secure" Except compatiblity issues, what are the know problems to ...
4
votes
2answers
2k views

How to display Cookie Notification text to users that is ignored by Search Engines?

Websites within the EU are meant to inform users about the use of cookies on their website. Whilst the law raises plenty of implementation questions already, the general consensus is that we must at ...
1
vote
1answer
40 views

Cookie being assigned on website

I am updating our privacy policy and was checking what cookies were being assigned to visitors from our website. I found one that I am unaware of. It is a Drupal 6 site and there is no module being ...
0
votes
1answer
101 views

Workaround for Chrome not handling backward date change in Windows

I'm heavily making use of cookies for a website. Their expiry period is set to 1 day. My preferred test browser is Chrome 28, Windows 7. For a test, I need to change the date of my OS back to eg the ...
3
votes
1answer
193 views

How to handle pages that requires the use of session cookie?

I have a search page that uses session to track search criteria made by the user. A session cookie is created automatically when the page is launched. As bots do not use cookie, 1000s of sessions ...
0
votes
1answer
127 views

Ad networks that let you run your own cookie targeting

We've got some proprietary cookie targeting software which we are developing to help deliver better targeted ads. We don't have a group of publishers, nor particularly want to go and build our own ...
2
votes
0answers
720 views

How can I set a secure flag on cookies generated from a Python application?

I have an application written in Python running behind Apache and SSL. I am not seeing a secure flag on my cookie: apache Server version: Apache/2.2.15 (Unix) I have added a configuration line to my ...
1
vote
1answer
106 views

How can you set cookieless subdomain with Quantcast

I have correctly setup Google Analtycis so GA is not setting cookies for my subdomain. I mean for my static subdomain. But Quantcast is setting. What i wonder is can i prevent Quantcast to set cookie ...