Flight History Profit query?

Can I ask does the “profit” on the flight history page also take into account route marketing?

No, profit is flight revenue - flight costs, revenue and costs which are specific to that flight only. It is broken down in the flight’s detail page.