diff --git a/app/views/layouts/_common_head.html.erb b/app/views/layouts/_common_head.html.erb
index 429cec0a4233..f6e22cb7d1cf 100644
--- a/app/views/layouts/_common_head.html.erb
+++ b/app/views/layouts/_common_head.html.erb
@@ -10,7 +10,8 @@
+ data-project-identifier="<%= @project.identifier %>"
+ data-project-custom-fields-count="<%= @project.project_custom_fields.visible.count %>"/>
<% end %>