the chart for a total of fourteen weeks before being unseated by Jay Sean's "Down". The song, together with "Boom Boom Pow", earned the group a total of 26 consecutive weeks atop the Hot 100 chart while also earning them their longest running single on the chart, with a total of 56 weeks logged. "I Gotta Feeling" also peaked at number one on several other Billboard charts, including Hot Digital Songs, Mainstream Top 40, and Radio Songs. It was the group's second single to sell over 6 million downloads in the United States, and was certified 7× Platinum on August 25, 2010, by the Recording Industry Association of America (RIAA) signifying sales of over 7 million units. It was the first song to reach sales of over 6 million (November 25, 2010), 7 million (March 20, 2011), 8 million (June 24, 2012), and 9 million (June 7, 2019). It also earned the accolade of being the best digital seller in history. In Canada, the song debuted on the Canadian Hot 100 at number two behind "Boom Boom Pow", similar to its beginning run in the United States, on the week ending June 27, 2009. The next week, it rose to number one following a surge in airplay, where it maintained that position for 16 consecutive weeks, setting the record for longest run at number one since the chart's inception in 2007. The song was present on the chart for a total of 76 weeks, setting the record for longest stay on the chart. The song was certified Diamond by Music Canada for sales of over 800,000 digital downloads. "I Gotta Feeling" fared similarly in international markets. The song had a slower rise in the United Kingdom, where it debuted at number 70 on the week ending June 20, 2009. It quickly picked up momentum, moving into the top five in its fifth week on the chart. On the week ending August 8, 2009, the song peaked at number one, becoming the group's third number one and staying there for two non-consecutive weeks. "I Gotta Feeling" held within the top ten for 16 consecutive weeks and lasted on the chart for a total of 76 weeks. The song was certified 4× Platinum by the British Phonographic Industry on June 3, 2022, for sales and streams of 2.4 million units. "I Gotta Feeling" became the first song to sell over one million