diff --git a/_src/_assets/javascripts/bigchain/analytics.js b/_src/_assets/javascripts/bigchain/analytics.js index 1a2fc4b..4964435 100644 --- a/_src/_assets/javascripts/bigchain/analytics.js +++ b/_src/_assets/javascripts/bigchain/analytics.js @@ -157,6 +157,14 @@ var GoogleAnalytics = (function(w,d,$) { }, gaEventClaError: function() { ga('send', 'event', 'cla', 'cla_form', 'error'); + }, + + // Enterprise form + gaEventEnterpriseSuccess: function() { + ga('send', 'event', 'enterprise', 'enterprise_form', 'success'); + }, + gaEventEnterpriseError: function() { + ga('send', 'event', 'enterprise', 'enterprise_form', 'error'); } }; diff --git a/_src/_assets/javascripts/bigchain/form-enterprise.js b/_src/_assets/javascripts/bigchain/form-enterprise.js index 56bf980..085b45c 100644 --- a/_src/_assets/javascripts/bigchain/form-enterprise.js +++ b/_src/_assets/javascripts/bigchain/form-enterprise.js @@ -35,7 +35,7 @@ var FormEnterprise = (function(w, d, $) { // send GA event if (!_dntEnabled()) { - //GoogleAnalytics.gaEventContactSuccess(); + GoogleAnalytics.gaEventEnterpriseSuccess(); } }, error: function(err) { @@ -46,7 +46,7 @@ var FormEnterprise = (function(w, d, $) { // send GA event if (!_dntEnabled()) { - //GoogleAnalytics.gaEventContactError(); + GoogleAnalytics.gaEventEnterpriseError(); } } });