 In July 2009 , the song was offered as a free download on Kesha 's MySpace page for over a month before its official sale release . The song was later released to iTunes on August 7 , 2009 , and on August 25 , 2009 , in the United States . Barry Weiss of RCA / Jive Label Group relied on a similar marketing scheme to that of Britney Spears ' in 1999 when choosing to give the song away for free . The song 's marketing relied heavily on radio once she had achieved a strong online interest , but its radio release was delayed until October in order to capitalize on social media 's interest in her . After spreading the song quickly topped iTunes charts . 
