Skip to content

Tracking script causes forced reflow of the page #311

Description

@canyonwebworks

This is nearly identical to the patched issue in plausible/analytics: plausible/analytics#5727 (comment)
I'm hoping it will be fixed in the same manner for WordPress users.

Past Issues Searched

  • I have searched open and closed issues to make sure that the bug has not yet been reported

A similar bug was reported here: plausible/analytics#5727 (comment)
It was fixed thus: plausible/analytics#6174

Issue is a Bug Report

  • This is a bug report and not a feature request, nor asking for self-hosted support

Using official Plausible Cloud hosting or self-hosting?

Self-hosting

Describe the bug

I noticed the following performance issue in Google PageSpeed insights for my site

Image

This is caused by the a dynamic, assumed closed-source Plausible-hosted tracking script: pa-<CLIENT ID>.js

Expected behavior

I'd also like to avoid this performance penalty just like non-WordPress service users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions