Merge pull request #50 from foomo/feature/emarsys-use-item-list-id

feat: the category given to emarsys should not be the name but a cate…
This commit is contained in:
Kevin Franklin Kim 2024-09-10 17:13:48 +02:00 committed by GitHub
commit b22004aaa0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -141,7 +141,7 @@ function mapEventData() {
break;
}
case 'emarsys_category': {
mappedData.category = eventData.item_list_name;
mappedData.category = eventData.item_list_id;
break;
}
case 'emarsys_purchase': {
@ -159,7 +159,7 @@ function mapEventData() {
break;
}
case 'view_item_list': {
mappedData.category = eventData.item_list_name;
mappedData.category = eventData.item_list_id;
break;
}
case 'purchase': {