Added support for the new google analytics.js
Preserves backwards compatibility.