Deprecated trackEvent in favour of trackStructEvent