Garry Monk’s side were on top for most of the first half and Liverpool goalkeeper Simon Mignolet was forced to produce a number of saves to deny the home side.
We matched them up with a diamond in the second half, changed our tactics and got it right
The Reds, who were unbeaten in 12 Premier League games ahead of Monday night’s clash, made the breakthrough in the second half after Jordan Henderson scored a fluke goal.
Speaking to Sky Sports after their 1-0 win, Allen accepted Liverpool had to dig deep to beat the Welsh side.
“It was extremely hard, especially first half. Swansea were on top, they mad us work very hard. We got it right in the second half and thankfully got the three points,” Allen said.
“It was disappointing to be honest with the run we have been on. Thankfully we went in level but came back out with maybe a better attitude. We matched them up with a diamond in the second half, changed our tactics and got it right.”
Liverpool are two points behind fourth-placed Manchester United after a 13th game without defeat in the Premier League since a 3-0 defeat at Old Trafford in December.
The Reds face Louis van Gaal’s side at Anfield next Sunday as Brendan Rodgers’ side look to hoist themselves about the Red Devils.
MORE: Man United latest news
MORE: Arsenal latest news
MORE: Chelsea latest news
MORE: Liverpool latest news