To sync Shopify metafields with Klaviyo you need to create a "Private API Key" in Klaviyo
Setup Klaviyo sync in FieldsRaven
Klaviyo sync only works with the customer resource
When creating a new Raven toggle the "Sync with Klaviyo" button and add the Klaviyo's API key.
It takes about 10 seconds after the Shopify metafiled is created/updated for the KlaviyoSync job to kick in
Sync Shopify metafield into Klaviyo customer profile
When you sync a metafield into Klaviyo's customer profiles, property name in Klaviyo will be the metafield's key in Shopify. For example if you're syncing this metafield customer.metafields.social_media_profiles.facebook then property name in Klaviyo will be facebook
Sync Shopify JSON metafield into Klaviyo customer profile
When you sync a JSON type metafield, each property of the JSON object gets converted into a customer property in Klaviyo, this object:
{
"facebook": "Share on Facebook",
"twitter": "Tweet on Twitter",
"pinterest": "Pin on Pinterest",
"timestamp": `${Date.now()}`
}
Or this:
{
"Serial Number": "000123456789",
"Country of Residence": "Canada",
"Where did you purchase your meter?": "Amazon"
}