Skip to content

Avoid using Queued Tracking when importing logs #240

@tsteur

Description

@tsteur

fixes matomo-org/matomo#12340

When importing logs there is not really any benefit to use queued tracking for those requests. It might be even rather an overhead pretty much. There is eg no performance benefit because with the importer you can already import X requests at once (which is efficient).

I'd suggest to append to all tracking requests a URL parameter &queuedtracking=0 (see matomo-org/plugin-QueuedTracking#96) which avoids queued tracking. We could have an --enable-queued-tracking flag that sets the value to 1 if for some reason a user still wants to put the requests into queued tracking first.

This way you will always get accurate results whether logs were imported correctly, how many, etc. Queued tracking can otherwise not give this information.

cc @mattab

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions