Analytics metadata is not getting captured for buttons

This is for app platform.

For carousel/QR buttons and URLs, we are passing data in the following format:

                title: app.renderMessage('', {}, 'Flights'),
                "buttonDefault": "text",
                text: "Flights",
                analytics: {
                    "category": "Main Menu",
                    "airport_selected": airportvalue,
                    "label": "Flights",
                    "sessionId": app.sessionId(),
                    "type": "primary_select"

The problem here is that the extra metadata, like chat_transcript, profile_latitude, profile_longitude, profile_os etc. are not getting captured automatically in the analytics table.
However, when we are using function, all that data is getting captured as well.

Is this a bug?