update Google Analytics code to support Turbolinks