Need to combine multiple arrays

I have a scenario where I perform API calls to Fathom Analytics and need to gather the data in a method that I can bring it into Airtable via a webhook.

I have one (pageviews) array that has a format like:

And I have one complex array with data like:

I’d like the structure to be:

pathname
pageviews: {conversions}
refer button click: {conversions}
referral submitted: {conversions}
share click linkedin: {conversions}
…etc.