analytics on pageinit