diff options
author | Sarah German <sgerman@gitlab.com> | 2023-06-01 16:45:27 +0300 |
---|---|---|
committer | Sarah German <sgerman@gitlab.com> | 2023-06-01 16:45:27 +0300 |
commit | 0f498c6a942561b4625512a132f35a0f550bf72e (patch) | |
tree | 9763f577a0c26d36a5694547706bcc15b41fbc87 /layouts/404.html | |
parent | 5c8218d0466d4de465207cce5978408b79d3e624 (diff) | |
parent | 1e13a21da7183b1ae8dc92d2beeaad99935b4948 (diff) |
Merge branch 'cherry-pick-69942af7-3' into '15.8'15.8
Load the analytics only in the main site (15.8 backport)
See merge request https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/3903
Merged-by: Sarah German <sgerman@gitlab.com>
Approved-by: Sarah German <sgerman@gitlab.com>
Diffstat (limited to 'layouts/404.html')
-rw-r--r-- | layouts/404.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/404.html b/layouts/404.html index f638d150..73677a4b 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -17,9 +17,7 @@ </section> <script src="<%= @items['/frontend/shared/global_imports.*'].path %>"></script> - <% if production? %> <%# Add analytics only in production %> - <%= render '/analytics.*' %> - <% end %> + <%= render '/analytics.*' %> </body> </html> |