Enhanced ecommerce product_action_list data mapping not working

Bronze Contributor
Bronze Contributor

I'm trying to send the product_action_list with a product_click event. But the product_action_list variable never reaches Google Analytics. The rest of the variables work just fine.

 

utag_data.enh_product_list is also set to the right value after the click event.

 

utag.link({
    "enh_action": "product_click",
    "enh_product_list": "Test list",
    "enh_product_id": ["1234AB"],
    "enh_product_name": ["Test"],
    "enh_product_category": ["Test/Testing"],
    "enh_product_brand": ["Test Brand"],
    "enh_product_variant": ["Test Product variant"],
    "enh_product_price": [123],
    "enh_product_position": [1]
});

 

Mappings:

enh_action(js) --> enh_action
enh_product_id(js) --> product_id
enh_product_name(js) --> product_name
enh_product_variant(js) --> product_variant
enh_product_brand(js) --> product_brand
enh_product_category(js)--> product_category
enh_product_price(js) --> product_unit_price
enh_product_quantity(js)--> product_quantity
enh_product_list(js) --> product_action_list

 

What am I missing?

3 REPLIES 3

Enhanced ecommerce product_action_list data mapping not working

Employee Emeritus

@jos_yntema,

 

It looks like your value for "enh_product_list" is a string data-type.  You must pass this value in your call as an array like how your other ehanced ecommerce values are being passed.  So instead of "Test List", it should be ["Test List"]

Enhanced ecommerce product_action_list data mapping not working

Bronze Contributor
Bronze Contributor

@meng_lim The information displayed in Tealium doesn't specify that it needs to be an array.

I don't know why, but this does appear to be the case for impressions. These work fine however.

Either way, I've tried both and neither one works.

Enhanced ecommerce product_action_list data mapping not working

Employee Emeritus

@jos_yntema were you able to get it to work?  you should see the "pal" query string parameter populated with the product action list value.  I was able successfully reproduce a "product_click" with a "test_list" as my product action list.  See attached screenshot

My mappings:
enhancedEcommerceAction -> enh_action

product_list -> product_action_list

 

 

Screen_Shot_2015-12-01_at_7_21_09_AM.png

Public