registerForInAppForms

Start an In-App Forms session.

This will load forms data and establish ongoing listeners to present a form to the user whenever a form is triggered by an event or condition according to the targeting and behavior settings configured for forms in your Klaviyo account.

Note: a public API key is required, so Klaviyo.initialize must be called first. If the API key changes, the session will be re-initialized automatically with the new key.

Parameters

config

see InAppFormsConfig for configuration options.