Skip to content

Commit

Permalink
feat: the category given to emarsys should not be the name but a cate…
Browse files Browse the repository at this point in the history
…gory ID that can be mapped to the category assigned to products in the emarsys feed
  • Loading branch information
Daniel Thomas committed Sep 10, 2024
1 parent bedc073 commit 40022b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
Expand All @@ -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': {
Expand Down

0 comments on commit 40022b2

Please sign in to comment.