include analytics helper in correct place