added code for Google Analytics