diff --git a/src/v0/destinations/facebook_conversions/utils.js b/src/v0/destinations/facebook_conversions/utils.js index 24d0ddc9c2a..270fac8c455 100644 --- a/src/v0/destinations/facebook_conversions/utils.js +++ b/src/v0/destinations/facebook_conversions/utils.js @@ -177,7 +177,7 @@ const fetchAppData = (message) => { const appData = constructPayload( message, MAPPING_CONFIG[CONFIG_CATEGORIES.APPDATA.name], - 'fb_pixel', + DESTINATION.toLowerCase(), ); if (appData) { @@ -195,6 +195,10 @@ const fetchAppData = (message) => { appData.extinfo[0] = sourceSDK; } + appData.extinfo = ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''].map( + (val, ind) => (appData.extinfo[ind] ? appData.extinfo[ind] : val), + ); + return appData; };