Skip to content

Content impressions and page-views show up from different IPs (and are therefore recognised as different users) #94

@andrelung

Description

@andrelung

We recently implemented the tracker-proxy and everything looks good, except:
Image

Our Matomo is running as a docker container behind a reverse proxy. I think this might be the issue, but I do not know how to proceed. The initial configuration was:

[...]
proxy_client_headers[] = "HTTP_X_FORWARDED_FOR"
proxy_host_headers[] = "HTTP_X_FORWARDED_HOST"
[...]

After a little try-and-error now we are running this and it "feels" a little better, but I can not say for sure. This is also does not happen to every tracked user:

[...]
; following line was added to test split users
; It is also possible to check multiple proxy_client_headers, which will be checked in order until a header value is found:
proxy_client_headers[] = "HTTP_CLIENT_IP"
proxy_client_headers[] = "HTTP_CF_CONNECTING_IP"
proxy_client_headers[] = "HTTP_X_FORWARDED_FOR"
proxy_host_headers[] = "HTTP_X_FORWARDED_HOST"
[...]

We are on the most current versions (Matomo version: 5.3.2, tracker-proxy Commit 942980e).

I am open any hint or suggestion. Please also ask if you need more information about our setup.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions