Skip to content

Do not load JS tracking code deferred #16055

@tsteur

Description

@tsteur

Currently we set async=true;defer=true;. However, most browsers support async so defer should be no longer set. This is recommended behavior and ensures a browser won't prefer defer over async (which be bad for performance).

Should be updated in generated tracking code and in docs. Only async=true should be set.

Metadata

Metadata

Assignees

Labels

EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.c: PerformanceFor when we could improve the performance / speed of Matomo.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions