update ga code and remove console.log