When using pre-population settings on a field, configuring rules, or configuring events, you can pull data from a number of sources. This article details the available sources.
Note that depending on what features are active on your account, you may not have all of the below data sources available to you.
Data Sources
Fixed value
A simple, static string value.
Gate attribute
Use a piece of data from the gate configuration, e.g. download URL. Gate attributes are specific to each of our client's accounts within Formulayt, but there are some common ones:
- Gate ID - A GUID-type string that uniquely identifies the specific gate. This is auto-generated when the gate is created and cannot be changed.
- Gate (object) - A JS object that can be used to interrogate and interact with the gate itself, including underlying DOM elements. More information about working with GCDC JS objects in our JS API KB article.
- Gate name - A user-friendly name for this gate. This will be what the gate editor entered when they created/edited the gate.
- Display type - Returns either "modal" or "inline" depending on the embed method.
- Gate type - Returns a key describing the gate type, for example: "download", "youtube", or "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
Use a piece of data that can be determined by the gate editor, e.g. asset category. Using this data source will add a corresponding field automatically to the gate editor interface. Gate editor fields are completely configurable for each account and are set up as detailed in this KB article.
Form interaction
Provides data about form interactions and other information about the form itself:
- Behaviour - Outputs either "normal", "progressive" or "multistep" to indicate the form's behaviour setting.
- List of currently displayed fields - Returns a CSV text list of the field keys currently visible to the user.
- List of all user-facing form fields - Returns a CSV text list of all field keys present on the form.
- Submission datetime - Available in Local ISO, UTC ISO, and US formats.
- Submission type - Returns either "user" or "blind".
- Last field interacted with - Available as field name or object.
- Last field that was invalid - Available as field name or object.
- 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 and ID of triggering link for modal gates.
Query string
Track a query string parameter whenever it appears in the page URL and pre-populate this field with the latest value.
Meta tag
Data pulled directly from the page's HTML meta tags.
Form field
Copy the value of another field within the same form type.
MAP contact field
If your account is integrated with a Marketing Automation Platform (MAP), contact fields available for pre-population will appear here.
Google Analytics
If the Google Analytics integration is active, you can choose 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 pertaining to the current page load:
- Page URL - With or without querystrings
- Page load datetime - In ISO or US format
- Page referrer - Full URL of previous page
- External page referrer - URL if from 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
- Day of week
- IP address
- Geographic information - City, Country, LatLong coordinates
- Random GUID - Unique per page load
- Browser settings - DoNotTrack status, Ad blocker detection
Session
Data from the browser session, including:
- Referrer information - Full URL and domain
- 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-pop values by combining other basic values and plain text.
Need Help?
If you have questions about data sources or need assistance with configuration, our technical team is here to help. Create a new support ticket and we'll assist you with your data source needs.