Why did Leia lead the Empire to the Rebel Fleet hidden on Yavin IV?
We wonder if the most popular question asked about Star Wars is why do Storm Troopers always miss then is the second most popular question why did Princess Leia leave the Empire to Yavin IV and thus the location of the rebel fleet?
What is the answer anyway?
The short answer is Leia bet the farm on taking down the Death Star. With the knowledge that they had found a weakness in the structure of the planet killer, it was time to play and she was prepared to put the entire Rebel fleet at risk to do it.
Once the planet Alderaan was destroyed Leia realised that the Empire was in a massive new position of power. There was nothing left to lose now that the Emperor had the power of the Death Star at his disposal. There would be no more negotiations with dissenting planets - any one who stood in the Empire's way could be obliterated.
Basically it was thus now or never and so Leia deliberately let Han Solo drive the Falcon to Yavin IV in the knowledge she and her rescuers had been allowed to escape (which explains why the Storm Troopers missed all their shots).
She knew Tarkin and Vader would have a plan and she was correct in that the Falcon had been bugged.
It was thus a game of I know you know. One which ultimately cost Tarkin his life.