Expected result
| Check | Expected behavior |
|---|---|
| Browser script | One request and one script element |
| Initial document | One automatic PageView |
| SPA navigation | One explicit PageView after each later committed route |
| Action event | One event after the action succeeds |
| Console | No Bily load errors |
| Built assets | No credentials or private tokens |
Verify an SDK installation
Temporarily enable lifecycle diagnostics and wait for the explicit readiness signal.verify-bily.ts
debug logs lifecycle diagnostics. It does not log event payloads. Remove it or set it to false after verification.
Normal
track() calls do not need to await ready(). Calls made while the script loads stay in the bounded SDK queue.Verify a plain HTML installation
Open browser developer tools, then:- Open the Elements panel and search for the exact script URL.
- Confirm the document contains one matching script element.
- Open the Network panel and reload the document.
- Confirm the browser requests the exact URL once, including its query string.
- Confirm Bily shows one initial
PageViewfor that document.
Test page-view behavior
Run these checks in order:- Load a page directly. Expect one automatic
PageView. - Reload it. Expect one new
PageViewfor the new document load. - In an SPA, navigate to a different route. Expect one explicit
PageView. - Trigger a component rerender without changing the URL. Expect no new page view.
- Navigate back and forward. Expect one event for each committed URL change.
Inspect the exact URL
Do not compare only the hostname. Compare the full URL character for character with the value shown in Bily. Query parameters and encoded characters are part of the installation contract.Production checklist
- Disable temporary diagnostics.
- Confirm your consent controls run before optional customer data is sent.
- Search built browser assets for credentials and private tokens.
- Confirm failed operations do not emit success events.
- Verify the same action does not fire from both a container and a nested component.
Troubleshoot a failed check
Diagnose timeouts, duplicate page views, missing routes, and changed script URLs.