This Sunday, millions of French people will head to their local polling stations to choose their next resident. If it is an exaggeration to say that this election will decide the fate of Europe, it is surely only a small one.

We predict that the majority of voters will give their support to Emmanuel Macron. This forecast is based on what French voters have been reading online over the past three months. It follows the same methodology we used to predict that Macron would win the first round of the election two weeks ago, comparing the aggregate level of interest attracted by each candidate over time.

Our key findings are:

  • Over the entire election campaign, Macron attracted more attention than Le Pen.
  • Macron has received more attention online than Marine Le Pen in the two weeks since the first round, when they were competing directly with each other.
  • While there is no evidence of the clear shift in attention that Le Pen would have needed for a credible chance of victory, Macron’s lead has been eroding slightly since last weekend. This suggests that Le Pen may be having some limited success in closing the gap.

We are therefore confident that Macron will win decisively, but we think that the margin may be significantly smaller than the 20–25% gap predicted by the polls after the first round in April.

As we publish this, news is spreading of a cyber attack on the Macron campaign. We do not believe that this will affect the result.

The level of online interest a candidate attracts proved a good predictor of the number of votes they would garner in the first round of the election. This measure even made it possible to spot trends in public support before they manifested themselves in traditional polls.

To capture the level of interest for each candidate, we looked at tens of thousands of articles published about them by the French media since January. Every hour, we measured how many clicks each article attracted (our dataset has grown to over 2.5 billion data points). We then compared the median level of traffic each candidate received, and published this data in our French Election Tracker.

Echobox’s French Election Tracker

In order to predict the result of the election, we compared the average level of interest in a candidate over the duration of the entire campaign.

By this measure, Macron outperformed Le Pen just over 60% of the time over the duration of the campaign.

% of time each candidate outperformed the other since 15 January, according to the French Election Tracker.

Crucially, Macron has also attracted more attention than Le Pen after the first round of the election. This is important because Le Pen would need a massive shift in voter support towards her in order to have a chance of victory. Our data does not provide any evidence that this is indeed happening.

Average difference between level of interest attracted by Le Pen and Macron online since 23 April, according to the French Election Tracker. Positive values indicate Macron in the lead.

That being said, over the past week Marine Le Pen has almost closed the gap — though the debate provided some temporary relief to Macron. With a ban on campaign-related news now in place in the French media, the candidates have received approximately the same amount of interest over the course of the run-off period.

We think this may indicate that the result will be narrower than what was predicted just after 23 April, when Macron led by 25 percentage points. Given the substantial lead Macron has enjoyed for three months, however, we think Marine Le Pen would need a much more dramatic movement of attention towards her. As our predictions in round one showed, historical levels of attention matter.


As we have said in the past, we think it is imperative to be open out the novel methodology and dataset we used. Neither this methodology nor the data existed in previous elections.

We are aware that there are differences in media usage between Le Pen voters and the supporters of Macron. Indeed, Le Pen’s core voters and the candidate herself can often be heard criticising what they call the ‘mainstream media’. Many of them are likely to read strongly partisan publications, use social networks to discuss the news and/or eschew the media altogether in protest. However, this did not affect the accuracy of our Le Pen (and Melenchon) predictions in round one. This time, Le Pen also has to attract supporters of other candidates, most notably conservative Francois Fillon, who are if anything more likely to visit news websites than her core supporters. Moreover, older French people who are less likely to feature in our dataset, tend not to vote Le Pen.

We also know that interest does not necessarily imply support. Although we had the most accurate big data prediction and warned that Fillon’s scandal-driven candidacy was uniquely hard to analyse, we clearly overestimated his support in round one because of the difficulty of mapping one onto the other. However, we do not believe that this mistake will repeat itself because Fillon’s campaign was unique. He performed well in the French Election Tracker because of scandals to do with corruption, which drove unambiguously negative attention. The same has not been true for Le Pen or Macron since 23 April. They may polarise, but there has not been a barrage of news stories likely to put off both their supporters and opponents in the way that Fillon’s corruption allegations did.


Traditional polls, so accurate in the first round, predict Macron as the clear winner. Yet far from conceding defeat, Marine Le Pen of the National Front party has run an aggressive campaign, challenging the ostensible front-runner everywhere from the factory gate to the TV studio. Given her platform’s similarity to that of Donald Trump and Britain’s brexiteers, whose victories confounded experts and pollsters alike in 2016, Le Pen also seems to have the receding tide of history on her side, as resurgent ideas of nationhood and sovereignty call into question the internationalist postwar consensus.

Nevertheless, we believe that Macron will win. Billions of clicks do not lie, and the online reading pattern of French voters clearly supports the view that Le Pen has not managed to overcome the gap between her and her rival..

If we are right, Sunday will mark a victory for Macron’s unusual style of politics — and for big data in politics.

Menu