$("#contact form").each(function() { var jqForm = $(this); var jsForm = this; var action = jqForm.attr("action"); jqForm.submit(function(event) { event.preventDefault(); // prevent the form from submitting so we can sent the tracking code, then continue with the submission later. ga('send', { hitType: 'event', eventCategory: 'Form Submits', // add any name for the category eventAction: 'Form Submitted', // add any name for the action hitCallback : function () { console.log("event sent ok"); } }); setTimeout(function() { // now wait 300 milliseconds... jsForm.submit(); // ... and continue with the form submission },300); }); }); });
Barnstaple 01271 860794 | London 02038 698253 | Plymouth 01752 422981 [email protected]
5 Reasons to Choose Stainless Steel Handrails

5 Reasons to Choose Stainless Steel Handrails

Stainless steel handrails are a very popular choice, thanks largely to the benefits they offer. Aside from being easier than other fabrications to set up and install, this type of railing can also be left supported by mounted posts as standalone railings, or be fixed...
Why You Need to Choose a Steel Staircase

Why You Need to Choose a Steel Staircase

There are many benefits to having a custom steel staircase in all variety of locations, from schools to offices, apartments, and of course, in your own home. Having a glass and steel staircase installed can provide you with a range of advantages that exceed...