How to only run some code in production with Phoenix and Elixir?
Do you have some code that you only want to run in production and not during development? I recently wanted to add analytics to this page, but only in production mode. Read on to find out how to solve it in a very simple way.