diff --git a/src/v0/destinations/mp/transform.js b/src/v0/destinations/mp/transform.js index 2065764b98..02eca8ed22 100644 --- a/src/v0/destinations/mp/transform.js +++ b/src/v0/destinations/mp/transform.js @@ -386,7 +386,7 @@ const processGroupEvents = (message, type, destination) => { $set: { [groupKey]: groupKeyVal, }, - $ip: get(message, 'context.ip'), + $ip: get(message, 'context.ip') || message.request_ip, }; if (destination?.Config.identityMergeApi === 'simplified') { payload.$distinct_id = message.userId || `$device:${message.anonymousId}`;