Skip to main content
Active Contributor I
July 13, 2022
Solved

Storing input fields from website into Klaviyo Profile

Does anyone know if it’s possible to store an input field on our website (shopify) into the user’s Klaviyo profile as a custom field?

 

For example say on our shopify product page (not a klaviyo sign up form) there’s a input field called ‘foo’ where the user enters free form text.  We want to take the value of the input field ‘foo’ and save it as a custom property in the user’s Klaviyo profile with every key press as the user is inputting values into the foo input field (ideally with a straight javascript call to Klaviyo on the product page without the use of any custom built apps).  

    This topic has been closed for replies.
    alex.hong
    alex.hongAnswer
    Klaviyo Alum
    July 13, 2022

    Hi @SharonSTP,

    Thanks for sharing to the Community.

    Unfortunately there isn't a way to turn this data into profile properties through the Klaviyo interface. The only way to do this would be to have your developers write a script using our Profiles API to extract the information form the customer's profile and inject it as a custom property. You can find our API documentation here: https://www.klaviyo.com/docs/api/people.

    They may also find helpful to read through this guide: Getting Started with Klaviyo APIs

    To give a better understanding of what we do sync from Shopify, you can refer to Synced Customer Data
    Related community posts can be found here:

     

    Hope that helped,

    Alex

    1 reply

    alex.hong
    alex.hongAnswer
    Klaviyo Alum
    July 13, 2022

    Hi @SharonSTP,

    Thanks for sharing to the Community.

    Unfortunately there isn't a way to turn this data into profile properties through the Klaviyo interface. The only way to do this would be to have your developers write a script using our Profiles API to extract the information form the customer's profile and inject it as a custom property. You can find our API documentation here: https://www.klaviyo.com/docs/api/people.

    They may also find helpful to read through this guide: Getting Started with Klaviyo APIs

    To give a better understanding of what we do sync from Shopify, you can refer to Synced Customer Data
    Related community posts can be found here:

     

    Hope that helped,

    Alex