Skip to content

Commit

Permalink
feat: added event type mapping json for all standard events
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepdsvs committed Oct 11, 2023
1 parent b31ac7a commit 33b8006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v0/destinations/facebook_pixel/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ const populateCustomDataBasedOnCategory = (
categoryToContent,
valueFieldIdentifier,
) => {
let eventTypeCustomData = constructPayload(message, category.name);
let eventTypeCustomData = constructPayload(message, MAPPING_CONFIG[category.name]);
switch (category.type) {
case 'product list viewed':
eventTypeCustomData = updateCustomDataForProductListViewed(eventTypeCustomData, message, categoryToContent);
Expand Down

0 comments on commit 33b8006

Please sign in to comment.