The new agreement now requires all future GrubHub Inc. contracts with restaurant partners to use a fee calculation that excludes tips.