added event tracking for standalone app