New analytics code for activeadmin.org