Repository and GoogleAnalytics Tip

Google suggests that the GA code should be in the head section of the page(s) BUT you can also put it in the body which will mean it goes at the bottom of the page and thus you knock off a few milliseconds of page load time.

BUT …
This will seriously screw with a Repository page, all you’ll get is 500 server errors

SO …
by all means pop the GA code in the body BUT NOT if you have Repository on your site.

2 Likes

I discovered this issue myself last week

1 Like

In a far away Rep2 version I will bring an own theme not dealing with that code…

3 Likes

That sounds interesting Jannis - looking forward to reading and seeing the updates asap