Millions of fans followed Spain's national team throughout the FIFA World Cup via the media and social networks, pushing its audience to record levels.