update to work with ruby 2
update analytics filter