From: Andrew Magliozzi Date: Fri, 4 Oct 2013 16:02:56 +0000 (-0400) Subject: fixed google analytics upload and form submit tracking X-Git-Tag: release-20150131~386^2~71 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ce1d30371f5cecb53af8cfb98f4961f6cbe22059;p=oweals%2Fkarmaworld.git fixed google analytics upload and form submit tracking using event tracking method _trackEvent(args) --- diff --git a/karmaworld/templates/partial/filepicker.html b/karmaworld/templates/partial/filepicker.html index 5233cbc..04a4afa 100644 --- a/karmaworld/templates/partial/filepicker.html +++ b/karmaworld/templates/partial/filepicker.html @@ -29,20 +29,9 @@

Your files are being processed and should be viewable within a few minutes.

If you'd like to share again, please click here.

- @@ -107,12 +96,15 @@ $(_form.children[0].children[3].children[1]).val(upFile.mimetype); document.getElementById('forms_container').appendChild(_form); + + _trackEvent('upload', 'filepicker file drop'); $('.remove').on('click', function(e){ e.stopPropagation(); console.log($(this).parent().parent()); $(this).parent().parent().remove(); }); + }; var fileup = document.getElementById('filepicker-file-upload');