Documentation Index
Fetch the complete documentation index at: https://docs.clickterm.com/llms.txt
Use this file to discover all available pages before exploring further.
Dialog options
Passed as the first argument toClicktermDialog.show():
Your identifier for the end user (max 256 chars).
Template ID from the ClickTerm dashboard.
Key-value pairs for placeholder substitution. See Template placeholders for the full list.
Language code for template content and UI strings. See supported languages below.
Dialog configuration
Passed as the optional second argument toClicktermDialog.show():
When
true, the user cannot close the dialog without accepting or declining.Visual customization
Starting from SDK version 2.1, the clickwrap dialog appearance is customized directly from the ClickTerm Dashboard — no SDK configuration needed. Settings are managed at the template level and apply to all versions.Supported languages
Thelanguage parameter determines both the template content language and UI strings (buttons, prompts, labels). If omitted or unsupported, the default language configured in the ClickTerm UI is used.
| Code | Language | Code | Language |
|---|---|---|---|
bg | 🇧🇬 Bulgarian | hu | 🇭🇺 Hungarian |
cs | 🇨🇿 Czech | it | 🇮🇹 Italian |
de | 🇩🇪 German | nl | 🇳🇱 Dutch |
el | 🇬🇷 Greek | no | 🇳🇴 Norwegian |
en | 🇬🇧 English | pl | 🇵🇱 Polish |
es | 🇪🇸 Spanish | pt | 🇵🇹 Portuguese |
fi | 🇫🇮 Finnish | ro | 🇷🇴 Romanian |
fr | 🇫🇷 French | ru | 🇷🇺 Russian |
hi | 🇮🇳 Hindi | sr | 🇷🇸 Serbian |
sv | 🇸🇪 Swedish | uk | 🇺🇦 Ukrainian |
zh | 🇨🇳 Chinese (Simplified) |
ClickTerm does not auto-translate your content. Create localized template
content in the ClickTerm UI for every language you plan to support.
Inline options
Starting from SDK v2.2.0, the SDK supports inline mode viaClicktermDom.renderInline(). Inline mode accepts the same endUserId, clickwrapTemplateId, templatePlaceholders, and language fields as dialog mode, plus additional options:
| Field | Type | Description |
|---|---|---|
onChange | (checked: boolean) => void | Fires when the checkbox state changes |
style | ClicktermInlineStyleOptions | Code-based visual customization (checkbox color, size, border radius, font) |

