Add the script once
Select the intended store, then open Bily > Settings > Apps > More settings > Install tracking and choose HTML. Copy the exact raw script into the global<head> for your site.
index.html
Confirm each document includes it once
Templated sites should place the script in the shared layout. Do not paste another copy into individual pages. Each full document load records its initialPageView automatically. Do not add another manual page-view call.
Applications that change routes in the browser
Plain HTML installation does not provide the@bilyai/js application API. If the site becomes a single-page application, remove the raw script installation and follow the JavaScript, React, or Next.js guide instead.
Content security policy
If your policy requires a script nonce, render the nonce that your server created on this script element. Keep thesrc unchanged.
Verify the installation
Confirm one initial page view and one script request per document.