The dollar gained across the board on Friday after generally upbeat U.S. economic data revived some expectations that the Federal Reserve could consider raising interest rates again this year.

The dollar index, a measure of the greenback's value against six major currencies, was on track for its best weekly performance since November. Against the yen, the dollar rose to a more than one-week high.