Fix class deprecation warnings
Pageviews metric with Google Analytics Embed API