|MadSci Network: Computer Science|
E-commerce is using the internet or online to sell goods, products, and services. Online marketing is companies using online services and the internet to build their brands, market their products and services, or promote. So the key difference is the intent to sell immediately (commerce) vs. marketing, which does not seek a sale at the point in time.
Try the links in the MadSci Library for more information on Computer Science.