Fix errors in adding Google Analytics