A war is waging between "Game of Thrones" and "The Walking Dead" for the title of the most popular television show in the world, but which one will come out on top?

To figure out what shows have captured the world's attention, INSIDER worked with Parrot Analytics, which analyzes ratings data (where available), social media chatter, blogging, and illegal pirating, among other factors, to figure out the viewer demand for shows.

With all the different ways we're watching TV nowadays — online, mobile, and streaming, etc. — Parrot provides one of the best ways to compare shows across platforms and measure how popular they really are.

In ranking the popularity of these shows, Parrot assigned them an expressions total that reflects average daily audience demand from all countries from January 1 to December 18, 2017, which is adjusted for each country's population.

Here are the 20 most popular TV shows in the world for 2017, according to Parrot Analytics: