Optimizing Search Event Tracking for B2C Marketplace Analytics
Hello there! I work for a B2C marketplace (mobile-only), so search is absolutely central for us. I’d like to review how I’ve implemented my search event, because right now it’s not optimal for analyzing user behavior, and I’d love your advice or feedback to find the best approach. Currently, search works with autocomplete: it triggers live, 300ms after the last letter typed, so there’s no need to press "Enter." It’s the same when a user opens a collection from the homepage (they land on a filtered search), or when they open the search tab (results appear right away). My current search event is fired on every API call, whether the search is triggered manually or automatically, and also every time a filter is changed in the modal. The problem: this gives us a kind of catch-all event, mixing manual and automated actions, which makes filter analysis pretty tricky. On the filter modal, there is a "submit" button I could use to track truly manual actions, but if I do that, I lose the cases where a user changes a filter and then closes the modal without validating. So, if you have any advice, feedback, or tips on this kind of analytics/event design issue, I’d really appreciate it! Thanks in advance for your insights — any feedback is welcome 🙏
