You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice with instructions on how to install this via NPM, to avoid having to make an HTTP request to pull the file for every page load (i.e. /latest.js).
This will also help with Adblockers, since the code is instead bundled inside the static HTML/CSS/JS for the website.
Is this possible today? And if so, maybe add some instructions in this repo or in your docs (I've tried to find it, but no luck, but maybe I'm blind 😄)
The text was updated successfully, but these errors were encountered:
Depends on what you mean by server-side, but I'm thinking of build-time for popular Single Page Applications (SPAs) such as React, Vue and Static Site Generators such as Astro, Hugo and Gatsby.
For all of them, being able to bundle the simple analytics code among all other JS code (instead of fetching it on every page load) would be a win.
Would be nice with instructions on how to install this via NPM, to avoid having to make an HTTP request to pull the file for every page load (i.e.
/latest.js
).This will also help with Adblockers, since the code is instead bundled inside the static HTML/CSS/JS for the website.
Is this possible today? And if so, maybe add some instructions in this repo or in your docs (I've tried to find it, but no luck, but maybe I'm blind 😄)
The text was updated successfully, but these errors were encountered: