mirror of
https://github.com/bigchaindb/site.git
synced 2025-02-14 21:10:28 +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();
|
_private.gaPixelDensity();
|
||||||
},
|
},
|
||||||
gaEventEarlyAccessSuccess: function() {
|
gaEventEarlyAccessSuccess: function() {
|
||||||
ga('send', 'event', 'signup', 'early_access_form', 'success', true);
|
ga('send', 'event', 'signup', 'early_access_form', 'success');
|
||||||
},
|
},
|
||||||
gaEventEarlyAccessError: function() {
|
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();
|
e.preventDefault();
|
||||||
|
|
||||||
if ( $(this).parsley().isValid() ) {
|
if ( $(this).parsley().isValid() ) {
|
||||||
|
|
||||||
// var data = {};
|
|
||||||
// var dataArray = _config.form.serializeArray();
|
|
||||||
// $.each(dataArray, function (index, item) {
|
|
||||||
// data[item.name] = item.value;
|
|
||||||
// });
|
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: _config.formURL,
|
url: _config.formURL,
|
||||||
type: _config.formMethod,
|
type: _config.formMethod,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user