added GA trackevent function def