how can I set how long it takes until a tracking cookie expires? There is a “cookie_expire” setting, but with a note that says
This is used only if use_third_party_id_cookie = 1
In my case this is set to 0 because I dont wan’t to do cross websites analysis.
And like that note says, chaging cookie_expire to another value anyway won’t do anything, I gave it a try.
What can I do to change tracking cookie expiration then?
Thx!
PS: I noticed that setting cookie_expire value in config.ini.php has no effect even when you set use_third_party_id_cookie = 1. Weird.
setVisitorCookieTimeout( seconds ) - the default is 2 years
setSessionCookieTimeout( seconds ) - the default is 30 minutes
setReferralCookieTimeout( seconds ) - the default is 6 months
[quote=matt]
Users without JS are not tracked by default[/quote]
But isn’t there a
within the standard tracking code?
I thought that line makes sure that even users without javascript will be tracked because they will call http://example.org/analytics/piwik.php?idsite=1.
[quote=matt]
You can customize these via JS tracker:
setVisitorCookieTimeout( seconds ) - the default is 2 years
setSessionCookieTimeout( seconds ) - the default is 30 minutes
setReferralCookieTimeout( seconds ) - the default is 6 months