URL field mapping
Map WordPress ACF URL fields to structured content in Optimizely CMP for consistent data representation.
Optimizely Content Marketing Platform (CMP) supports mapping the ACF URLfield to the structured content URL type field.
JSON example
{
"core": {
"key": "acf_url_field",
"name": "ACF URL Field",
"is_list": false,
"is_required": false,
"need_internationalization": false,
"min_list_length": 1,
"max_list_length": -1,
"field_type": "url",
"source_id": null,
"source_metadata": "{\"is_custom_post_type_field\": true}", // It is important to identify source_metadata as custom field
"order_index": 0,
"help_text": null,
"editor_metadata": null
},
"base_type": "url",
"default_values": null
}Updated 3 days ago