Try catch for page view tracking (GA) to prevent errors