HTTP tracking API doesn't set cookie?


#1

I’m working on a tracking component which uses the HTTP API described here:

http://piwik.org/docs/tracking-api/reference/

Calling the http endpoint doesn’t set any headers besides “Access-Control-Allow-Origin: *” and “Content-Type: image/gif”. In particular, it doesn’t try to set a cookie. Identifying returning visitors doesn’t work.

I’ve read in the docs that piwik asks my app to provide and persist such an ID but that doesn’t make sense. A visitor returning every day just to hammer my login screen does need no ID within my app but within the tracking context. Piwik should do that.

Is there a way to have Piwik generate such cookies? Kind regards,

Christian


(Matthieu Aubry) #2

Currently the tracker does not generate first party cookies but we might one day. Please create a ticket about this if you care :slight_smile:


#3

[quote=matt]
Please create a ticket about this if you care :)[/quote]

Please… :slight_smile: