Updated the GA tracking JS to new syntax, added gon gem for js variables, removed redundant migrations
and fixed bug in the store settings attachment condition. TRAD-15 #comment This still needs to be tested once the GA page views are updated.