Fix Analytics, Jesus Christ, it's been broken all this time
parent
b485751feb
commit
182fbc78b4
|
@ -6,7 +6,6 @@
|
|||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', '#{Rails.configuration.ga_ua}', '#{Rails.configuration.ga_url}');
|
||||
$(document).on('page:change', function(){
|
||||
document.addEventListener('page:change', function(ev){
|
||||
ga('send', 'pageview');
|
||||
});
|
||||
|
Loading…
Reference in New Issue