Installation
The Selektable SDK is loaded via a script tag. No npm packages or build tools required.Script tag
Add the embed script before the closing</body> tag on every page where you want the widget available. Replace store_xxx with your Store ID from the Selektable dashboard:
Replace
app.selektable.com with your instance URL if self-hosting.- Loads asynchronously (
async) so it doesn’t block page rendering - Creates the global
window.Selektableobject - Auto-discovers
data-selektable-widgetelements on the page - Initializes visitor identity tracking
Verifying installation
Open your browser’s developer console and check that the SDK is loaded:Loading order
Since the script loads asynchronously,window.Selektable may not be available immediately. If you’re calling SDK methods from inline scripts, ensure the SDK has loaded first: