1
0
mirror of https://github.com/bigchaindb/site.git synced 2025-02-11 08:09:33 +01:00

fix GA events

This commit is contained in:
Matthias Kretschmann 2015-12-22 16:50:35 +01:00
parent bf61802447
commit 9b8e9ebb51
2 changed files with 2 additions and 9 deletions

View File

@ -91,10 +91,10 @@ var GoogleAnalytics = (function(w,d) {
_private.gaPixelDensity();
},
gaEventEarlyAccessSuccess: function() {
ga('send', 'event', 'signup', 'early_access_form', 'success', true);
ga('send', 'event', 'signup', 'early_access_form', 'success');
},
gaEventEarlyAccessError: function() {
ga('send', 'event', 'signup', 'early_access_form', 'error', true);
ga('send', 'event', 'signup', 'early_access_form', 'error');
}
};

View File

@ -18,13 +18,6 @@ var FormEarlyAccess = (function(w, d, $) {
e.preventDefault();
if ( $(this).parsley().isValid() ) {
// var data = {};
// var dataArray = _config.form.serializeArray();
// $.each(dataArray, function (index, item) {
// data[item.name] = item.value;
// });
$.ajax({
url: _config.formURL,
type: _config.formMethod,