Curious thing, I updated Imagevue gallery, and since then I'm not getting stats from my gallery, I thought that I need to re-add analytics js code, but surprise, when I opened index_gallery.phtml google code was there, so why it's not working (it used to work before update).