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:
parent
bf61802447
commit
9b8e9ebb51
@ -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');
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user