Doing e-commerce is like playing Go—you need to focus on both the immediate and the long term.