From 93f88233025efd50da823df92b6da06c0ef5cbf0 Mon Sep 17 00:00:00 2001 From: Nico Mollet Date: Mon, 25 Sep 2017 11:05:45 +0200 Subject: [PATCH] Remove Gravity Forms submission to Analytics event --- js/scripts.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/js/scripts.js b/js/scripts.js index 1c93e06..a512ec9 100644 --- a/js/scripts.js +++ b/js/scripts.js @@ -2008,13 +2008,6 @@ jQuery(function($) { // DOM is now ready and jQuery's $ alias sandboxed $(this).attr('readonly','readonly'); }); - // Tracking event for Gravity Forms submission - $(document).bind('gform_confirmation_loaded', function(event, formId){ - if (typeof ga === 'function') { - ga('send', 'event', 'Forms', 'Submission', 'formid_'+formId); - } - }); - // Email obfuscation $("span.cryptemail").each(function(){ var spt = $(this);