Cock Robin (John Gilbert) is a sideshowbarker in Budapest. He also participates in one of the acts; his former girlfriend Salome (Renée Adorée) dances before Herod in exchange for the head of "Jokanaan". As Jokanaan, Robin has his head seemingly chopped off and presented to the dancer on a platter, much to the delight of the audience.
Salome wants to get back together with Robin, but he has his sights set on Lena (Gertrude Short), the daughter of a well-off sheep merchant. He lets the smitten Lena buy him things. The Greek (Lionel Barrymore), Salome's current boyfriend, becomes angered when he learns of her feelings. The Greek and his henchman, the Ferret, also try to steal Lena's father's money, but fail to find it after they murder him.
That night, a heartbroken Lena tells Robin that her father has been killed. She trustingly shows him the substantial amount of money she had been holding for her father; when Robin ascertains that she has no brothers and that she has many more sheep, he becomes very interested. However, Salome eavesdrops, bursts in and warns Lena that Robin is only after her for her wealth. Lena flees, without her money. Robin is furious and can barely restrain himself from beating Salome.
When Lena shows up at the sideshow with a policeman, Salome has Robin hide in her attic. One day, an old blind man (Edward Connelly), another resident of the building, comes to Salome to have her read to him another letter from his son; Salome tells him that the man has been promoted to captain and received a decoration. She assures the old man that his son will return someday with his regiment. Later, however, she reveals to Robin that the son is actually in the prison across the street, scheduled to be hanged the next morning. That morning, the old man hears voices in Salome's room and assumes his son has finally come home. Bursting with joy, he mistakes Robin for his son and takes him to his room, where he puts on his old uniform. Then, just after his real son is executed, he passes away.
The Greek first tries to rid himself of his romantic rival by taking the place of the "executioner" and using a real sword to lop off Robin's head, but Salome sees through his disguise and stops him. When Robin goes into hiding, the Greek steals another sideshow attraction, a poisonous lizard, and plants it in Salome's attic.
An official calls on Salome to inform her that she can claim her brother's possessions at the prison; Robin then realizes that the old man was her father. Thoroughly ashamed of himself, Robin reconciles with her. However, the official had spotted him hiding behind the door. When a policeman comes to arrest him, Robin hides in the attic, where the Greek has also been trapped. In the ensuing scuffle, the Greek is bitten by the lizard. Robin takes the money from his dead body and gives it to the policeman. For returning it voluntarily, Robin is let off. He and Salome return to the sideshow. When next they perform the act, she kisses him while his head is on the platter.