Track key events in websites and web apps with the Formo Web SDK. Learn more about how to set up and configure the Formo Web SDK to measure what matters onchain.
<head>
of your website:
identify()
after a user connects their wallet or signs in on your website or app:
track
function:
tracking
to true
:
tracking
option:
flushAt
and flushInterval
configuration parameters.
ready
callback function executes once the Formo SDK is fully loaded and ready to use. This is useful for performing initialization tasks or calling SDK methods that require the SDK to be ready.
onload
attribute:
Log Level | Description |
---|---|
trace | Shows the most detailed diagnostic information, useful for tracing program execution flow. |
debug | Shows all messages, including function context information for each public method the SDK invokes. |
info | Shows informative messages about normal application operation. |
warn | Default. Shows error and warning messages. |
error | Shows error messages only. |