Corrected trackUnstructEvent to logUnstructEvent