How campaigns win votes online