You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To track a page view I simply call clients doTrackPageView($documentTitle) method from within the page controllers. This works fine with one problem: All page views are tracked with the IP of the WepApp server instead of the users IP.
I added a echo statement to output the URL that is used by the Clients sendRequestsendRequest(...) method:
This is the same, no matter if call use $this->tracker->setIP($_SERVER['REMOTE_ADDR']) or not. The URL transfers the correct IP (56.71.16.47) but piwik tracks the server IP instead.
The text was updated successfully, but these errors were encountered:
Hi,
I have integrated the Tracking HTTP API using the PHP Client into my Symfony 2.7 WebApp.
To track a page view I simply call clients
doTrackPageView($documentTitle)
method from within the page controllers. This works fine with one problem: All page views are tracked with the IP of the WepApp server instead of the users IP.I added a
echo
statement to output the URL that is used by the ClientssendRequestsendRequest(...)
method:This is the same, no matter if call use
$this->tracker->setIP($_SERVER['REMOTE_ADDR'])
or not. The URL transfers the correct IP (56.71.16.47) but piwik tracks the server IP instead.The text was updated successfully, but these errors were encountered: