diff --git a/app/views/articles/stats.html.erb b/app/views/articles/stats.html.erb index 304de30b5..45c81ab68 100644 --- a/app/views/articles/stats.html.erb +++ b/app/views/articles/stats.html.erb @@ -1,9 +1,11 @@ <% title "Stats for Your Article" %> -
-

Stats for "<%= link_to @article.title, @article.current_state_path, id: "article", data: { "article-id" => @article.id, "organization-id" => @organization_id } %>"

+
+
+

Stats for "<%= link_to @article.title, @article.current_state_path, id: "article", data: { "article-id" => @article.id, "organization-id" => @organization_id } %>"

- <%= render "shared/stats" %> -
+ <%= render "shared/stats" %> +
+ <%= javascript_packs_with_chunks_tag "analyticsArticle", defer: true %> diff --git a/app/views/dashboards/analytics.erb b/app/views/dashboards/analytics.erb index 829500fc9..45a4b462a 100644 --- a/app/views/dashboards/analytics.erb +++ b/app/views/dashboards/analytics.erb @@ -1,13 +1,15 @@ <% title "Analytics" %> -
-
-

Analytics Dashboard for <%= @user_or_org.name %>

-

Welcome to the Analytics Dashboard, the home of in-depth user metrics so that authors can make data-driven decisions about the <%= SiteConfig.community_member_label %> ecosystem.

-

This dashboard highlights deep insights especially relevant to <%= SiteConfig.community_member_label %> relations, authors, and serious bloggers.

-
+
+
+
+

Analytics Dashboard for <%= @user_or_org.name %>

+

Welcome to the Analytics Dashboard, the home of in-depth user metrics so that authors can make data-driven decisions about the <%= SiteConfig.community_member_label %> ecosystem.

+

This dashboard highlights deep insights especially relevant to <%= SiteConfig.community_member_label %> relations, authors, and serious bloggers.

+
- <%= render "shared/stats" %> -
+ <%= render "shared/stats" %> +
+ <%= javascript_packs_with_chunks_tag "analyticsDashboard", defer: true %>