Shopify stock (NYSE: SHOP) has rallied by about 15% over the last month, outperforming the S&P 500 which was up by about 7.5% over the same period. There are a couple of factors driving the gains.