Browsing history is primarily collected through cookies and tracking pixels. These small pieces of code are embedded in websites and emails, allowing marketers to track user behavior. Modern tools like Google Analytics and Facebook Pixel provide comprehensive insights into user activities, which can then be used for email marketing purposes.