Skip to content

Commit

Permalink
Remove Gravity Forms submission to Analytics event
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomollet committed Sep 25, 2017
1 parent a0c5e00 commit 93f8823
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 93f8823

Please sign in to comment.