If you're referring to class or location tracking, this feature is only available in QuickBooks Plus. If you're subscribed with that subscription, follow the steps below:
Click the Gear icon.
Select Account and Settings.
Select Advanced. Then select the Categories section to edit.
Check Track classes.
Check Warn me when a transaction isn’t assigned a class. This is optional, but it's good to turn on so when you look at reports, you know everything got classified.
Under Assign classes select One to entire transaction or One to each row in transaction.