Skip to main content

Dialog options

Passed as the first argument to ClicktermDialog.show():
endUserId
string
required
Your identifier for the end user (max 256 chars).
clickwrapTemplateId
string
required
Template ID from the ClickTerm dashboard.
templatePlaceholders
object
default:"{}"
Key-value pairs for placeholder substitution. See Template placeholders for the full list.
language
string
default:"Template default"
Language code for template content and UI strings. See supported languages below.

Dialog configuration

Passed as the optional second argument to ClicktermDialog.show():
disableClose
boolean
default:"false"
When true, the user cannot close the dialog without accepting or declining.
ClicktermDialog.show(
  { endUserId: "user-123", clickwrapTemplateId: "tmpl-456" },
  { disableClose: true }
);

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

The language 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.
CodeLanguageCodeLanguage
bg🇧🇬 Bulgarianhu🇭🇺 Hungarian
cs🇨🇿 Czechit🇮🇹 Italian
de🇩🇪 Germannl🇳🇱 Dutch
el🇬🇷 Greekno🇳🇴 Norwegian
en🇬🇧 Englishpl🇵🇱 Polish
es🇪🇸 Spanishpt🇵🇹 Portuguese
fi🇫🇮 Finnishro🇷🇴 Romanian
fr🇫🇷 Frenchru🇷🇺 Russian
hi🇮🇳 Hindisr🇷🇸 Serbian
sv🇸🇪 Swedishuk🇺🇦 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.