Add what you suggested and also the same with REMOTE_ADDR and both give NULL as the result.
Here is how I added snipped to save space
Result
Could the issue maybe be the server where the proxy script is, is not setting either properly for some reason?
Thanks
Here is how I added snipped to save space
<?php var_dump($SERVER); var_dump($REMOTE_ADDR); /** * Piwik - Open source web analytics * Piwik Proxy Hide URL * * @link [piwik.org] * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later */
Result
NULL NULL /*! * Piwik - Web Analytics * * JavaScript tracking client * * @link [piwik.org] * @source https://github.com/piwik/piwik/blob/master/js/piwik.js * @license [piwik.org] Simplified BSD (also in js/LICENSE.txt) */
Could the issue maybe be the server where the proxy script is, is not setting either properly for some reason?
Thanks