Now when I say GREAT I don't just mean that it was very good or the best track on an album - I mean GREAT in the realms of a U2 classic
Looking back over the years I'd have to say that that title goes to Please - yes, that far back sadly!
I was considering Beautiful Day , a cracking song but maybe too safe (?) and then there's Vertigo which sounds so familiar nowadays but when it came out it sounded exciting and contained a riff that seemed it was always there waiting to be found
Now of course there other tracks on other later albums that are very good - but not GREAT, not a classic, if you see what I mean
You need something indisputable, so, for truly Great songs? Probably 1995: Miss Sarajevo, or 1993:Stay. 1997: Discotheque is a criminally underrated great ‘track’, Please is very good, Beautiful Day too, but Stay is properly Great.
I agree with one of the last great classic U2 songs : Stay or Please
In my opinion
Last U2 hits : Vertigo
Some notable success post-Vertigo : City Of..., Ordinary Love, Every Breaking Waves...
Last perfect song (subjective) : Wake up dead man
Last great album (subjective) : All That...
Last great U2 song (U2 2010-20) : The Troubles
City of blinding lights maybe with a very strong nod however to Lights of home ( regular album version, not the orchestral version). Magnificent should probably be in the discussion as well
They've made many songs since that I personally consider great, but if we're talking about a GREAT song as - an undeniable part of U2 canon, a song that has crossed over beyond just the fanbase, and can be argued is musically interesting or innovative - the answer has to be Vertigo.