If you strictly go by horoscope same gothrams will not match. It is better to avoid sagothram marriage since the same is not supported by our elders.