Extend your funnels with JavaScript to handle complex logic, calculations, and third-party integrations
<script>
tags:
window.fox
(or just fox
) as soon as
the screen loads.
Property | Type | Description |
---|---|---|
fox.sandbox | boolean | True in preview mode, false in production |
fox.locale | string | User’s browser language code (e.g., “en-US”) |
navigateToScreen()
, navigateToId()
,
navigateToNext()
, or navigateToBack()
. These legacy methods exist for
backwards compatibility only.setEmail()
is special - it saves the email to the user’s
profile, not just as a regular input. Use this for primary email collection.DOMContentLoaded
or similar wrappersfox.inputs.set()