Skip to content

Instantly share code, notes, and snippets.

@knennigtri
Last active March 14, 2022 20:33
Show Gist options
  • Save knennigtri/67f937d0b9b728494502b6110493c74c to your computer and use it in GitHub Desktop.
Save knennigtri/67f937d0b9b728494502b6110493c74c to your computer and use it in GitHub Desktop.
CIF core product component output in the Adobe Client Data Layer
"event.message.eventInfo.component": {
"product-7fc286dec9": {
"xdm:currencyCode": "USD",
"xdm:categories": [
{
"repo:id": "category-086c143818",
"xdm:name": "Tops",
"xdm:asset": {
"@type": "image",
"repo:path": "https://jnz3dtiuj77ca.dummycachetest.com/media/catalog/category/outside.jpg",
"repo:id": "image-47657d01d4"
}
},
{
"repo:id": "category-87ad2e1037",
"xdm:name": "Blouses & Shirts"
},
{
"repo:id": "category-b8a3caa888",
"xdm:name": "Shop The Look"
},
{
"repo:id": "category-df146c27a3",
"xdm:name": "Minimalist Sensibility"
}
],
"xdm:SKU": "VT11",
"xdm:assets": [
{
"@type": "image",
"repo:path": "https://jnz3dtiuj77ca.dummycachetest.com/media/catalog/product/cache/049921ef33cf983997e4a4ee02ef4cc5/v/t/vt11-ll_main_2.jpg",
"repo:id": "image-7fd932b63c"
},
{
"@type": "image",
"repo:path": "https://jnz3dtiuj77ca.dummycachetest.com/media/catalog/product/cache/049921ef33cf983997e4a4ee02ef4cc5/v/t/vt11-ll_back_1.jpg",
"repo:id": "image-14d2527bce"
},
{
"@type": "image",
"repo:path": "https://jnz3dtiuj77ca.dummycachetest.com/media/catalog/product/cache/049921ef33cf983997e4a4ee02ef4cc5/v/t/vt11_look_1.jpg",
"repo:id": "image-47f0377065"
}
],
"xdm:listPrice": 68,
"dc:description": "<p>The Valeria Tank features two layers of possibility. The loose fit flatters without impacting comfort and the tiered material hangs beautifully. Wear alone or add a belt for a little more definition. </p><p>Features:</p><ul><li>Scoop neck</li><li>Sleeveless</li><li>Sits below the hips</li><li>Two layers</li><li>Machine wash, tumble dry low</li></ul>",
"dc:title": "Valeria Two-Layer Tank",
"@type": "venia/components/commerce/product",
"parentId": "page-f9dfabef95"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment