Inject event statistics hook in footer