@clickterm/widget) and as a single JavaScript file loaded via a script tag.
Latest SDK versions: Web
2.4.0 · Android 2.3.0 · React Native 0.3.0 — View changelogInstallation
- npm
- Script tag
Both distributions contain the same SDK. Code samples in these docs use the
window.Clickterm global — if you installed from npm, replace that line with
the import above.Initialization
Initialize the SDK with your App ID:Verify initialization
After callinginitialize(), you can immediately use ClicktermDialog methods. Without initialization, the SDK will throw an error when requesting a clickwrap.
Requirements
- The template must be Enabled in the dashboard
- The template must have at least one published content version in the Effective state
Next steps
ClicktermClient
Client initialization and configuration.
ClicktermDialog
Showing clickwrap dialogs and accepted content.
ClicktermDom
Inline clickwrap rendering (v2.2.0+).

