Skip to main content
The Encore Web SDK is a lightweight, dependency-free JavaScript/TypeScript library that displays targeted offers in your web app. It’s framework-agnostic: it works with React, Vue, Angular, Svelte, or plain JavaScript.
New to Encore? Start with the Getting Started Guide for account creation and guided setup. You’ll need your publishable API key (pk_...) from dashboard.encorekit.com.

Install

Verify

TypeScript types are bundled, so no extra packages are needed:

Browser support

Chrome/Edge, Firefox, and Safari (last 2 versions each); iOS Safari 15+. The SDK targets ES2022 and uses fetch and localStorage (with sessionStorage and in-memory fallbacks); no polyfills are needed on supported browsers. If you use a Content Security Policy, allow the Encore API host:

Next steps