Organize and simplify your analytics event trapping related code.