User Ip not coming with {{{data.profile.ip}}} and {{{app.profile.ip}}}

Hi
I am not able to fetch ip of user as mentioned in this thread

may i know what variable to use

Regards

in mobile device it is not coming. but on website channel it is coming

Please log data.profile in a function for cloud to check see for extracting the same.

{“country”:“India”,“country_code”:“IN”,“hasRandomName”:false,“name”:“Harvinder”,“sfGeoCode”:“INDIA”,“timezone”:“+05:30”,“firstTime”:false}

Getting these fields only in profile object but IP is not coming please help