Take out analytics gem and use old fashioned google analytics plus a javascript file that deals with turbolinks.