fix analytics on mobile