Termerly logo

Analytics, tag scripts and charts now defer on auth screens

Released
TB

Tomislav Babic

Auth screens (sign-in, sign-up, password recovery, email confirmation) had no business loading analytics widgets, tag management scripts, or the entire charting library on first paint. Those scripts are needed inside the dashboard, not on the front door.

We restructured the loading sequence so:

  • Analytics and tag scripts defer on every auth screen and only register once you reach the authenticated app.
  • The charting library is lazy-loaded out of the entry chunk entirely — it now only loads on the stats and dashboard pages that actually use it.

This translates to a measurably faster first paint on sign-in, the page that almost every user sees at least once. And the dashboards stay just as fast because the charting library loads in parallel as soon as the route resolves.

May 5, 2026

Activity feed

  • TK
    Tomasz Kowalski

    Sign-in is the first page almost every user sees. Making it light was the right priority.

    May 7, 2026

    Replay