Call GA _trackEvent through _gat global
authorJosh Williams <jwilliams@endpoint.com>
Fri, 4 Oct 2013 18:50:49 +0000 (14:50 -0400)
committerJosh Williams <jwilliams@endpoint.com>
Fri, 4 Oct 2013 18:50:49 +0000 (14:50 -0400)
karmaworld/templates/partial/filepicker.html

index 5ef8dde98b7e4c2d11cfa3cebc4b7432aa74ef28..1b3f24c4c341b66a0d7ac808778c0eeb7118117c 100644 (file)
@@ -93,7 +93,7 @@
 
         document.getElementById('forms_container').appendChild(_form);
         
-        _trackEvent('upload', 'filepicker file drop');
+        _gat._getTracker()._trackEvent('upload', 'filepicker file drop');
 
         $('.remove').on('click', function(e){
             e.stopPropagation();