Load the analytics only in the main site (15.4 backport)
What does this MR do and why?
Backports !3897 (merged) to 15.4.
After this MR is merged, pipeline to follow and check that the image is rebuilt: https://gitlab.com/gitlab-org/gitlab-docs/-/pipelines?page=1&scope=all&ref=15.4