Yes, generally OTAs will count towards your travel bonus category on your credit card. For example, the Chase Sapphire Reserve card earns 3x points on travel purchases, which includes online travel agencies.