As political parties fight for undecided UK voters ahead of next month's general election, they are increasingly turning to online platforms.