hold on to your hat vs hold onto your hat

hold on to your hat

hold onto your hat

phrase
  • Prepare for a shock! 

  • Used other than figuratively or idiomatically: see hold, onto, hat. 

How often have the words hold on to your hat and hold onto your hat occurred in a corpus of books? (source: Google Ngram Viewer )