Move GA code into include JS file

Move GA code into include JS file