On one hand, UKIP came 1st among British parties in the 2014 MEP election with 24 seats, representing 32.9% of British seats. They even came first in the popular vote in that contest with 26.6% of votes (slightly ahead of Labour, 24.4% and 23.1% Conservative).
Ukip has only ever had two MPs, and currently has none - its only remaining MP, Douglas Carswell, left the party in March 2017, and told Sky News’ Adam Boulton that there was “no point” to the party anymore.
I couldn't immediately find out their high-watermark of popular vote in a national election; maybe that can be part of the answer. In the 2015 election they apparently won 13% of the popular vote; that might have been their high-watermark in a national election, but I'm not entirely sure.
My question is: what explains this large difference between UKIP peak results in EU vs. national elections? (And I mean at least in terms of seats, but also popular vote if I got the high-watermark numbers for the latter right as well.)