diff --git a/assets/js/app.js b/assets/js/app.js
index d5d5f70..ca50218 100644
--- a/assets/js/app.js
+++ b/assets/js/app.js
@@ -264,7 +264,6 @@ window.addEventListener("phx:close-search", (event) => {
// connect if there are any LiveViews on the page
liveSocket.connect()
-
// expose liveSocket on window for web console debug logs and latency simulation:
liveSocket.disableDebug()
// >> liveSocket.enableLatencySim(1000) // enabled for duration of browser session
diff --git a/config/prod.exs b/config/prod.exs
index b7a8764..1206242 100644
--- a/config/prod.exs
+++ b/config/prod.exs
@@ -16,6 +16,8 @@ config :ash_hq, AshHqWeb.Endpoint,
# Do not print debug messages in production
config :logger, level: :info
+config :ash_hq, :analytics?, true
+
# ## SSL Support
#
# To get SSL working, you will need to add the `https` key
diff --git a/lib/ash_hq_web/templates/layout/root.html.eex b/lib/ash_hq_web/templates/layout/root.html.eex
index 0aecd4a..e7f1e13 100644
--- a/lib/ash_hq_web/templates/layout/root.html.eex
+++ b/lib/ash_hq_web/templates/layout/root.html.eex
@@ -6,6 +6,9 @@
<%= csrf_meta_tag() %>
<%= live_title_tag assigns[:page_title] || "Ash Framework" %>
+ <%= if Application.get_env(:ash_hq, :analytics?) do %>
+
+ <% end %>
"/>