moves the Google analytics on the first page

Maybe the reason GA isn’t working is because the page gets redirected
before GA is run.