Event tracking for search