Add analytics to minified code