replace ga code with basic ga code