Analytics util