Add event tracking