how did internet marketing work