I really enjoy running long races online, the problem I find tho is that I never really understand who I’m racing against (by similar tyre compound) or can’t really focus on counting on which laps to stop.
The best thing would be something similar to games like F1, before the race there could be a page where you could set your strategy with data gained during practice (maybe you did a stint on hards in practice and found out it lasts 10 laps, so the strategy tells you how much it lasts, it would give more sense to running long pratices) and during the race a race engineer would keep you posted on the strategy, telling that you should pit on that lap.
The second thing would simply be a indicator at the side of the players that tells you what compound they are on currently, so you could have an idea what you are up against.
And last thing, to make strategies more interesting it would be great to have different tyre consumption with how you drive so if you don’t stress tyres that much you could go longer on compounds by sacrificing time (maybe also the wight of fuel you put into the car can change tyre consumption, so it would make more sense to refuel in pitstops)