 Cvitanović also scored nine goals in 14 league matches in the autumn of 1997, before moving abroad to Spanish side Real Sociedad at the beginning of the year 1998.He scored a total of 104 goals in domestic league competitions for Dinamo Zagreb before leaving the club, becoming their most successful goalscorer of all time.He failed to find much success with the Spanish side, scoring only three goals in 29 La Liga appearances before returning to Dinamo Zagreb in 1999.