Tracking code is relevant for profit & loss accounts only. That’s why it’s revealed only after selecting profit & loss account.
If you need this for balance sheet accounts, you need to explain why you need to set tracking code on balance sheet accounts since no built-in report is using this information in any way.