using analytics_lib.js for google analytics