Comprehensive Analysis of the Tidal Effect in Gravitational Waves and Implication for Cosmology