Skip to main content

Shopify Metafield Type Mapping Table

This explains which type of metafield definition to select on Shopify (the integration destination) for each Asklayer question type.

Related articles:

Please use the mapping table below as a reference when creating Shopify metafield types.

Regarding the content that gets written: for multiple-choice questions, the value corresponding to the selected option is saved; for text-entry questions, the entered content is saved as-is to the metafield. For rating questions, the value is saved as a number from 1 to N, in ascending order from lowest to highest.

Mapping Table

Page Type

Description

Content Written

Recommended Metafield Type

Text / Copy

Allows respondents to state questions or opinions.

—

—

Coupon / Reward

Displays a coupon code to the respondent

—

—

Button List

Displays answer choices in button format

Single line text

Single Line

Short text input

Entered value

Single line text

Single Choice

A question with one selectable answer

Selected value

Single line text

Multiple Choice

A question with multiple selectable answers

Selected value(s)

Single line text

Word cloud

Allows multiple selections

Selected value(s)

Single line text

Dropdown

A question with a dropdown list of options

Selected value

Single line text

Email Capture

Collects contact information such as email address

Entered value

Single line text

Consent checkbox

A field for consent confirmation

Either "true" or "false"

Single line text

Binary

For yes/no (two-choice) answers

Selected value

Single line text

Number Scale & NPS

A numeric scale (0–10 by default). Can be configured to calculate as NPS or CSAT

Rating value

Integer

Star rating

Rate on a 1–5 star scale

Rating value

Integer

Satisfaction & CSAT

Suited for satisfaction ratings

Rating value

Integer

Short Answer

A free-text input question

Entered value

Single line text / Multiple line text

Download

File download feature *Basic plan or higher

Did this answer your question?