GoogleMetrics plugin and fixes