diff --git a/app/views/embed/comments.html.erb b/app/views/embed/comments.html.erb
index 3c26b1b32d1..b00805e8dc6 100644
--- a/app/views/embed/comments.html.erb
+++ b/app/views/embed/comments.html.erb
@@ -1,4 +1,4 @@
-<header class='discourse'>
+<header class='discourse' data-embed-status='loaded'>
   <% if @topic_view.topic.posts_count < 2 %>
     <%= link_to(I18n.t('embed.start_discussion'), @topic_view.topic.url, class: 'button', target: '_blank') %>
   <% elsif @topic_view.topic.posts_count > 10 %>
diff --git a/app/views/embed/embed_error.html.erb b/app/views/embed/embed_error.html.erb
index 65f4c3c43df..eac85f13edb 100644
--- a/app/views/embed/embed_error.html.erb
+++ b/app/views/embed/embed_error.html.erb
@@ -1,4 +1,4 @@
-<header class='discourse'>
+<header class='discourse' data-embed-status='error'>
   <h3><%= t 'embed.error' %></h3>
   <%= link_to(image_tag(SiteSetting.logo_url, class: 'logo'), Discourse.base_url) %>
   <div class='clearfix'></div>
diff --git a/app/views/embed/loading.html.erb b/app/views/embed/loading.html.erb
index 2a5621de827..52e6636b1c2 100644
--- a/app/views/embed/loading.html.erb
+++ b/app/views/embed/loading.html.erb
@@ -1,4 +1,4 @@
-<header class='discourse'>
+<header class='discourse' data-embed-status='loading'>
   <h3><%= t 'embed.loading' %></h3>
   <%= link_to(image_tag(SiteSetting.logo_url, class: 'logo'), Discourse.base_url) %>
   <div class='clearfix'></div>