added dev code for Google Analytics