I add these lines
# config/releases.exs
config :my_app, env: :prod
# my_app_web/templates/layout/app.html.eex
<%= if Application.get_env(:my_app, :env) == :prod do %>
... google analytics
<% end %>
I add these lines
# config/releases.exs
config :my_app, env: :prod
# my_app_web/templates/layout/app.html.eex
<%= if Application.get_env(:my_app, :env) == :prod do %>
... google analytics
<% end %>