updated api path on FE and added Google Analytics