The fair made $2520 from tickets, so they had 2520 / 5 = <<2520/5=504>>504 people attend the fair.
Two-thirds of those people will buy food, so 504 * 2 / 3 = <<504*2/3=336>>336 people will buy food.
The fair will make 336 * 8 = $<<336*8=2688>>2688 from food.
A quarter of the people will go on a ride, so 504 / 4 = <<504/4=126>>126 people will go on a ride.
The fair will make 126 * 4 = $<<126*4=504>>504 from rides.
An eighth of the people will buy a souvenir, so 504 / 8 = <<504/8=63>>63 people will buy souvenirs.
The fair will make 63 * 15 = $<<63*15=945>>945 from souvenirs.
In all, the fair will make 2520 + 2688 + 504 + 945 = $<<2520+2688+504+945=6657>>6657.
#### 6657