Expand my Community achievements bar.

Product/Merchandise eVars and events in xdm.productListItems not working

Avatar

Level 1

Hello Guys,

 

I found a similar topic: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-platform-data/support-for-merchand...

I implemented it like mentioned on: https://experienceleague.adobe.com/docs/analytics/implementation/aep-edge/variable-mapping.html?lang... but it seems that it is not mapped.

Example:

"productListItems": [
                {
                    "SKU": "1111",
                    "quantity": 3,
                    "currencyCode": "EUR",
                    "name": "X1",
                    "priceTotal": 5.7,
                    "lineItemId": "Small Sortiment|Baby",
                    "_experience": {
                        "analytics": {
                            "customDimensions": {
                                "eVars": {
                                    "eVar1": "X1"
                                }
                            },
                            "event1to100": {
                                "event1": {
                                    "value": "TEST"
                                }
                            }
                        }
                    }
                },
                {
                    "SKU": "2222222",
                    "quantity": 3,
                    "currencyCode": "EUR",
                    "name": "Baby Oil",
                    "priceTotal": 371.7,
                    "lineItemId": "Small Sortiment|Baby",
                    "_experience": {
                        "analytics": {
                            "customDimensions": {
                                "eVars": {
                                    "eVar1": "Baby Oil"
                                }
                            },
                            "event1to100": {
                                "event1": {
                                    "value": "TEST"
                                }
                            }
                        }
                    }
                }
            ]
        }

I can see in the Session Debugger, that the analytics.mapping is doing the following:

"c.a.x.productlistitems.[0]._experience.analytics.customdimensions.evars.evar1": "X1",
          "c.a.x.productlistitems.[0]._experience.analytics.event1to100.event1.value": "TEST",
          "c.a.x.productlistitems.[0].currencycode": "EUR",
          "c.a.x.productlistitems.[0].lineitemid": "Small Sortiment|Baby",
          "c.a.x.productlistitems.[0].name": "X1",
          "c.a.x.productlistitems.[0].pricetotal": "5.7",
          "c.a.x.productlistitems.[0].quantity": "3",
          "c.a.x.productlistitems.[0].sku": "1111",
          "c.a.x.productlistitems.[1]._experience.analytics.customdimensions.evars.evar1": "Baby Oil",
          "c.a.x.productlistitems.[1]._experience.analytics.event1to100.event1.value": "TEST",
          "c.a.x.productlistitems.[1].currencycode": "EUR",
          "c.a.x.productlistitems.[1].lineitemid": "Small Sortiment|Baby",
          "c.a.x.productlistitems.[1].name": "Baby Oil",
          "c.a.x.productlistitems.[1].pricetotal": "371.7",
          "c.a.x.productlistitems.[1].quantity": "3",
          "c.a.x.productlistitems.[1].sku": "2222222",

I additionally can see in the pl parameter of the analytics.mapping:

Small Sortiment|Baby;1111;3;5.7;event1=TEST;evar1=X1,Small Sortiment|Baby;2222222;3;371.7;event1=TEST;evar1=Baby Oil

And in the resulting generic (com.adobe.analytics.hitdebugger) it looks like this:

product-string: Small Sortiment|Baby;1111;3;5.70,Small Sortiment|Baby;2222222;3;371.70
products: Small Sortiment|Baby;1111;3;5.70,Small Sortiment|Baby;2222222;3;371.70

Why is this not mapped automatically the eVars and events from the products?

Thank you!

 

PS: I Added all from the debugger as an attachment!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

Can you provide the schema view associated with the dataSet you are attempting to ingest this data into?

Avatar

Level 1

Hello brekrut,

It is already solved, thank you for your response!