Improve Google Analytics script