Parameters
Configuration object.
Example
Behavior
- Calling
inittwice without callingdestroy()first logs a warning and does nothing. - If
sdkKeyortenantis missing, the SDK logs an error and does not mount. - If the document is still loading, mounting is deferred until
DOMContentLoaded.
Pre-queue pattern
You can set configuration on the globalHacktionbase object before the script loads. The SDK will auto-initialize when it detects a queued config:

