Skip to main content
All CollectionsCustomer FieldsHow-to Guides
How to use custom namespaces in Customer Fields
How to use custom namespaces in Customer Fields

Use customer metafields with different namespaces such as pre-existing metafields or those from another app

Brett Shelley avatar
Written by Brett Shelley
Updated this week

Overview

Lots of apps are using customer metafields to store information on customer accounts in Shopify. The problem with is that most systems only work with a specific namesapce. Set up a birthday field in Klaviyo? You probably have a Klaviyo.birthday metafield. Manually created a metafield in the Shopify admin? You may have a metafield such as custom.gender.

The good news is that the Customer Fields app now supports using custom namespace for custom form fields, instead of only being able to use our default app owned metafield namespace. This means you can add your Klaviyo.birthday, custom.gender, and other metafields directly to the app, allowing form submission data to be saved directly into these metafields, making it easier than ever to integrate customer data with all the different apps and systems you may be using.

How to use custom namespaces

Use the app default namespace

By default, the app will use a Shopify "app reserved" namespace for all custom fields created through the Customer Fields app. The default namespace used for new custom fields is app--960624--helium.

Set a custom namespace when creating a new form field

When adding a new custom field to a form, you can manually define a namespace and data column key for that specific field using the 'Advanced' tab in the form builder. The namespace and key you specify will be automatically associated with the corresponding metafield definition in Shopify, otherwise, a new metafield will be created if one does not already exist.

Customer Fields - Custom Shopify Registration Forms 2024-11-25 at 3.13.38 PM

Set a custom namespace when manually creating a new data column

To define a new data column in the Customer Fields app outside of an actual form field, you can manually do so on the Data columns page of the app. If you are trying to match this to an existing Shopify metafield, just make sure to match up the namespace, key, and type with what is already defined in Shopify.


Questions or feedback❓

Reach out to our team via chat, or email us at support@heliumdev.com

Did this answer your question?