Available data sources in Formulayt
When configuring pre-population settings on fields, rules, or events in Formulayt, you can pull data from multiple sources. This article details all available data sources.
Note: Depending on your account's active features, you may not have access to all of the data sources listed below.
Fixed value
A simple, static text value that you define.
Gate attribute
Access data from the gate configuration itself. Common gate attributes include:
Gate ID - A GUID-type string that uniquely identifies the specific gate (auto-generated, cannot be changed)
Gate (object) - A JavaScript object for interacting with the gate and underlying DOM elements
Gate name - The user-friendly name entered when creating/editing the gate
Display type - Returns either "modal" or "inline" depending on the embed method
Gate type - Returns a key describing the gate type (e.g., "download", "youtube", "general")
Download URL - For download gates, contains the URL of the downloadable asset
Form language - Returns ISO code of the selected language (e.g., "en", "en-us", "de-ch")
Form type - Key representing the form type being used
Kiosk mode - Returns true if the gate is in kiosk mode
Gate editor
Using Gate editor as a pre-population source allows gate authors the facility to specify field values in a gate (most commonly hidden fields). You can specify how the authors input the value.
Form interaction
Provides data about form interactions and information about the form itself:
Behaviour - Outputs "normal", "progressive" or "multistep" to indicate the form's behaviour
List of currently displayed fields - CSV text list of field keys visible to the user
List of all user-facing form fields - CSV text list of all field keys on the form
Submission datetime - Available in Local ISO, UTC ISO, and US formats
Submission type - Returns either "user" or "blind"
Form pre-populated - Outputs 'true' if the form was pre-populated with user data on load, blank otherwise.
Last field interacted with - Available as field name or object
Last field that was invalid - Available as field name or object
Last submission failure reason - Returns the reason for the most recent failed form submission, if there has been a failed form submission within the current page load. Sometimes when FETCH form submissions fail, the reason is not visible to Formulayt. In this case, the reason will be "Unknown form submission error". This is often caused by Ad blockers or other browser privacy tools. (Note that errors that occur after form submissions have been received by the target platform, e.g. server-side validation, cannot be detected by Formulayt).
Current progressive/multistep step - Current step number in progressive or multistep forms
Total number of steps - Total steps in progressive or multistep forms
Highest multistep step completed - Maximum step reached by user
Modal click information - Text or ID of the link clicked to display gate (modal gates only)
Query string
Track a query string parameter when it appears in the page URL and pre-populate fields with the latest value. Tracked values persist for the user's session and update if a new value appears in the URL.
Meta tag
Pull data from a meta tag on the page. Specify the name of the tag to read from.
Form field
Copy the value of another field within the form.
MAP contact field
If your account integrates with a Marketing Automation Platform (MAP), contact fields available for pre-population appear here. For example
Google analytics
If the Google Analytics integration is active, you can use certain values from the on-page Google Analytics object.
Webinar
If using the Formulayt webinar management module, allows use of the user's selected webinar session ID.
Page
Data related to the current page load:
Page URL - With or without querystring, or just the domain portion
Page load date-time - In ISO or US format
Page referrer - Full URL of the previous page
External page referrer - URL if from an external site
Parent frame URL - For pages loaded in iFrames
Total time on page - In seconds
Browser
Data from the browser, including software version and geographic location:
User agent string - Full browser user agent string
Browser name and version
User's preferred language - Language setting in browser in ISO format
Day of week - 3 letter value of current day of week
IP address
Geographic information - City, Country, LatLong coordinates
Random GUID - Random unique value, unique per page load
DoNotTrack is active - True if DoNotTrack is turned on in the user's browser
Ad blocker detected - Requires activation of Privacy blocking detection in your account settings (which attempts to load an image from your MAP domain)
Cookie (first party)
Data pulled directly from the page's first party cookies.
โ
Session
Data from the browser session, including:
Referrer information - Full URL or domain only
Entry URL - First page of session
Visit number - Total visits to website
UTM parameters
Detected from URLs and stored for different durations:
Session UTMs - Stored for current session only
First touch UTMs - Stored indefinitely, never overwritten
Last touch UTMs - Stored indefinitely, overwritten by new values
Multi-touch capture - Concatenated history of UTM values
Formula
Build advanced pre-population values by combining other basic values and plain text.
