`` On the Digital charts the track remained at the pole position for 20 non-consecutive weeks , surpassing Ed Sheeran 's `` '' Perfect '' '' ( 2017 ) as the longest-running song atop the chart . ''
Shallow remained at the top position for 20 weeks .