matomo-org / matomo-nodejs-tracker

A Node.js wrapper for the Matomo (Piwik) tracking HTTP API
MIT License
117 stars 41 forks source link

Wrong Client IP #50

Closed Clem- closed 6 years ago

Clem- commented 6 years ago

Hi, It seems that the IP logged in Matomo is the IP of the server where the nodeJS app is running and not the client/visitor IP. Is there any fix to this issue?

Thank you.

<!edit> OK, I just read a comment of @Findus23 on another issue that say :

Technically the tracker is only intended for use in NodeJS

Does it means that matomo-nodejs-tracker is not intended to replace the javascript code? </!edit>

Clem- commented 6 years ago

This Matomo Blog Post explains everything very well. matomo-nodejs-tracker is meant to track API calls and tracking visitor requires additional settings.