options request
should not recorded!
options request
will also be recorded
The server should filter out the options request
and not participate in the record.
@tsteur Hi, are you sure this is a bug? and will be fixed in the next version?
@5idu I haven't looked into this yet but put it for now into Matomo 5 to consider changing this there. This release could be 6-12 months away as we don't have specific plans for a Matomo 5 release yet. We probably wouldn't want to change anything there earlier just in case it would cause any kind of regressions where people rely on this working for some reason.
@tsteur Thanks Reply. looking forward to your verification result.
Now my solution is to intercept the options request
on nginx
, and then the statistical results are normal.
@5idu do you know what issues these OPTIONS requests in the first place?
@tsteur since cross-domain, browser client send the options request
, this is fine.
However, after the options request
is sent to the matomo server
, matomo
will still process the data passed by the options request, resulting in repeated statistics.
Thanks for this, that's really helpful. I will move this in the 4.9 milestone so we look into this earlier. If someone in the team could reproduce this that be great.
Haven't reproduced this locally, but this could be caused by CORS preflight, I guess we could filter those request types, stop them for the double record.