Tracks & Version Pinning
Choose stable or beta tracks, or pin an exact chatbot widget version with data-version.
Tracks & Version Pinning
Control which chatbot build your site loads: follow a track for automatic approved updates, or pin an exact patch for change-board freezes.
Tracks (shipped)
| Track | Use when | Behavior |
|---|---|---|
stable | Production sites | Latest approved production build on the stable track |
beta | Staging / early access | Newer builds before they promote to stable |
<!-- Production (recommended) -->
<script
src="https://assets.ept.ai/chatbot/loader.js"
data-track="stable"
async>
</script>
<!-- Early access -->
<script
src="https://assets.ept.ai/chatbot/loader.js"
data-track="beta"
async>
</script>
Pin an exact version
Use data-version when you need a known immutable build (security reviews, freeze windows, rollback planning).
<!-- Latest 2.0.x line -->
<script
src="https://assets.ept.ai/chatbot/loader.js"
data-version="2.0"
async>
</script>
<!-- Exact patch -->
<script
src="https://assets.ept.ai/chatbot/loader.js"
data-version="2.0.51"
async>
</script>
Pinned versions load immutable JS/CSS from the CDN. For Subresource Integrity on the loader and a full rollback recipe, see Enterprise Embed Control.
Track vs pin
| Goal | Attribute | Notes |
|---|---|---|
| Auto-receive approved stable updates | data-track="stable" | Do not also set data-version |
| Try upcoming builds | data-track="beta" | Staging only unless you accept change risk |
| Freeze / audit a known artifact | data-version="x.y.z" | Prefer with SRI on the loader |
Do not combine
Use either data-track or data-version, not both. Combining them makes update behavior ambiguous.
Verify what loaded
- Open your site and confirm the widget appears.
- In DevTools → Network, confirm requests under
https://assets.ept.ai/chatbot/. - For a pin, confirm the versioned asset URLs match the
data-versionyou set.
Next steps
- Enterprise Embed Control — pin + SRI + rollback-by-re-pin
- CSP Allowlist — hosts your policy must allow
- What's New — widget release notes by semver