Forcing IP address through the Piwik Tracker IP - Issues


#1

Hi everyone,
I was trying to force user IP address through calling the tracker API in its simplest form:
mydomain.com?idsite=1&action_name=X&rec=1
I have understood that if I want to force an IP to be recorded, I must use an auth code, which I tried.
My question is;
is it possible to force an IP address through simple tracker API like the one stated above? If so, what is the parameter name? because I have tried ip= and ForceIP= and SetIp= and non tried even IP addresses with double and single qoutations and no of these worked.

Thanks.


#2

I just looked into the source of the Tracker.php and found out that the parameter name was ‘cip’.
So, problem solved.
mydomain.com?idsite=1&action_name=X&rec=1 &cip=192.192.192.192&token_auth=blabla