For investors with a long investment time horizon, Amazon is the one Internet stock to own given its strong market share, according to one analyst.

"The longer your time horizon, you look at the company with the most strategic options out there," RBC Capital Markets analyst Mark Mahaney told CNBC.