moved analytics into pages directly