add function for google analytics send event