Skip to content

Commit

Permalink
Merge pull request #50 from foomo/feature/emarsys-use-item-list-id
Browse files Browse the repository at this point in the history
feat: the category given to emarsys should not be the name but a cate…
  • Loading branch information
franklinkim authored Sep 10, 2024
2 parents bedc073 + 40022b2 commit b22004a
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 b22004a

Please sign in to comment.