Update to adapt Google Analytics code