Forms & Quizzes

Data Layer

View all available fields and data in your quiz or form.

Overview

When building a quiz or form, you need to understand what data is available — form fields, computed fields, custom data, and system variables. SuperFunnel's Data Layer panel shows you all of this in one place, making it easy to:

  • See what fields you've collected
  • Reference field names when setting up integrations
  • Build computed fields with the correct field references
  • Debug data issues

Accessing the Data Layer

Open a quiz or form

Go to Quiz Funnels (for standalone quizzes) or Pages (for embedded forms) and open any quiz or form in the editor.

Click the Data Layer button

In the top left corner of the editor, next to the settings cog, click Data Layer. A panel appears on the right side of your screen.

Explore your data

The panel shows four sections:

Custom fields — any fields you've manually added to your quiz or form, with an option to add more.

Form answers — all form input fields with their field types (text, multiChoice, number, etc.). This is what your visitors fill out.

Calculated — computed fields your agent has created. These are derived from form answers or other data.

Built-in variables — system fields automatically captured by SuperFunnel (sessionHash, visitHash, accountId, etc.).

Using the Data Layer

For Integrations

When you set up webhooks, HubSpot, or other integrations, you need to map SuperFunnel fields to your destination system. Use the field names shown in the Data Layer panel to reference your data correctly.

Example: If the Data Layer shows a form answer field called company_name, you would reference it in an integration as data.form.company_name.value.

See Field Mapping for detailed mapping examples.

For Computed Fields

When asking your agent to create a computed field, reference the exact field names from your Data Layer panel. This ensures the calculation uses the correct data.

Example: If you want to create a lead score based on company size, and you see company_size in the Form answers section, you'd ask:

"Create a computed field called company_score that gives 10 points if company_size is 'enterprise', 5 points for 'mid-market', and 1 point for 'small'."

See Field Types to learn more about computed fields and how to prompt your agent to create them.

For Debugging

If an integration isn't receiving data you expect, check the Data Layer to confirm:

  • The field exists and has been filled out
  • The field name spelling is correct (especially important for custom fields)
  • The field type matches what you're trying to do (a multiChoice field behaves differently than a text field)

Example Data Layer

Looking at the Data Layer for a home loan qualification quiz, you might see:

Form answers: homeType, homeUse, equityGoal, homeValue, mortgageBalance, householdIncome, creditRating, militaryVeteran, zipCode, unlockAmount

Calculated: creditCohort (based on creditRating), requestedAmountFloor (based on equityGoal and homeValue)

Built-in: sessionHash, visitHash, accountId, campaignId, variantId, url, queryParams

When setting up a webhook to send this data downstream, you'd map each field using its exact name from the Data Layer.

What's Next