```suggestion

Author: gothamgodzillaCreated Jul 30, 2026Updated Jul 30, 2026
suggestion
 * Vercel Web Analytics initialization (static site, no bundler).
 *
 * This is a plain static deployment (vercel.json `outputDirectory: web`, no
 * build step), so bare module specifiers like `@vercel/analytics` cannot be
 * resolved by the browser. Instead, we set up the `window.va` queue shim and
 * load Vercel's hosted insights script, mirroring the documented HTML snippet.
 */
window.va =
  window.va ||
  function () {
    (window.vaq = window.vaq || []).push(arguments);
  };

var script = document.createElement("script");
script.defer = true;
script.src = "/_vercel/insights/script.js";
document.head.appendChild(script);

Bare ES module import @vercel/analytics in a no-bundler static site fails to resolve in the browser, so analytics never initializes.

Fix on Vercel

Originally posted by @vercel[bot] in https://github.com/gothamgodzilla/Mangasm/pull/16#discussion_r3657272351

Source: SuperClaude-Org/SuperClaude_Framework