On 17 May 2014, Anderson scored the first goal as St Johnstone beat Dundee United 2–0 in the Scottish Cup Final at Celtic Park. Anderson, himself, dedicated the Scottish Cup win to the owners of the club saying "They've run the club really well over the years and it was time they got their day. So it's great for them to get a bit of success. Every year we always think about getting a cup run." Following the end of the season, Anderson signed a new contract with the club on a two-year deal.