and DFA'd Pat Misch and they brought up Dale Thayer. For the season, on defense, he led all major league center fielders in errors, with 10, and had the lowest fielding percentage, at .968. On July 20, Pagán hit a 10th-inning walk-off home run off the railing of the second deck (named the Pepsi Porch in Citi Field) against closer Fernando Salas to help the Mets win 6-5 over the St. Louis Cardinals. On December 7, 2011, he was traded to the San Francisco Giants for Andrés Torres and Ramón Ramírez. San Francisco Giants 2012 On January 16, 2012, Pagán signed a one-year deal with the San Francisco Giants worth $4.85 million to avoid his final year of arbitration. His deal included incentives of an additional $50,000 for 550, 600 and 650 plate appearances. With 659 plate appearances in 2012, Pagán earned a salary of $5 million that year. Pagán set the Giants record for a home hitting streak at 28 games. This broke Mike Donlin's record of 26 consecutive home games with at least one hit from 1905 to 1906, back when the team was in New York. On September 15, 2012, Pagán broke the San Francisco Giants record for the most triples in a season, with 13. He finished the regular season with 15 triples, which led the major leagues. In 2012, Pagán was vital to the Giants reaching the 2012 World Series and was the lead-off hitter for the Giants throughout most of the postseason. On December 3, Pagán signed a 4-year, $40 million contract with San Francisco, pending a physical examination. The contract became official on December 7, 2012. 2013 On May 25, with the Giants trailing 5-4 in the bottom of the tenth inning versus the Colorado Rockies, Pagán hit a walk-off inside-the-park home run off of reliever Rafael Betancourt. It was the third inside-the-park home run of Pagán's career. However, Pagán injured his left hamstring during the game and was placed on the 15-day disabled list, effective May 28. On June 20, Pagán re-injured his left hamstring while on rehab assignment with the Class-A Advanced San Jose Giants against the Stockton Ports. On June 25, he underwent surgery to repair a torn tendon in his left hamstring, and he did not join the Giants again until August 30, missing 82 games. Pagán finished the season batting .282/.334/.414 in 71 games with 5 home runs