Opened 4 years ago

Closed 4 years ago

Last modified 2 years ago

#1364 closed New feature (fixed)

Exclude by Cookie - configureable cookie name and path

Reported by: hebbet Owned by:
Priority: low Milestone: Piwik 0.6.2
Component: Core Keywords:
Cc: Sensitive: no

Description (last modified by matt)

How to exclude Piwik visits using a cookie?

currently you can't change the cookie name for exclude a visitor
it is easily possible to set a cookie named "piwik_ignore"

solution:
let the admin choose a name for the cookie and/or path

Attachments (1)

cookie_naming.patch (1.9 KB) - added by halfdan 4 years ago.
Adds "exclude_webmaster_cookie_name" to global.ini.php and adjusts code.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 4 years ago by halfdan

I honestly don't see the relavance for this. Why would one want to change the name of the cookie if it does it's work?

Vote for: wontfix

comment:2 Changed 4 years ago by hebbet

in google analytics you can select the cookie name (see To exclude traffic by Cookie Content)
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55481

comment:3 Changed 4 years ago by vipsoft (robocoder)

Isn't it already called piwik_ignore?

comment:4 Changed 4 years ago by hebbet

yes currently it is piwik_ignore
but i want to change the name

comment:5 Changed 4 years ago by vipsoft (robocoder)

  • Priority changed from major to normal
  • Type changed from Bug to New feature

We should make this configurable to be consistent with login_cookie_name and (visitor) cookie_name in global.ini.php.

At the same time, we should also start signing cookies as a pre-caution against anti-tracking cookies.

comment:6 Changed 4 years ago by vipsoft (robocoder)

  • Summary changed from Advanced exclude by Cookie to Exclude by Cookie - configureable cookie name

comment:7 Changed 4 years ago by vipsoft (robocoder)

  • Priority changed from normal to low

Changed 4 years ago by halfdan

Adds "exclude_webmaster_cookie_name" to global.ini.php and adjusts code.

comment:8 Changed 4 years ago by vipsoft (robocoder)

  • Description modified (diff)
  • Summary changed from Exclude by Cookie - configureable cookie name to Exclude by Cookie - configureable cookie name and path

comment:9 Changed 4 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

(In [2227]) fixes #1364 - committed patch by halfdan with some minor edits; thanks

comment:10 Changed 2 years ago by matt (mattab)

  • Description modified (diff)
Note: See TracTickets for help on using tickets.