Pass analytics as an arg to the wrapper function