$("#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 Use A Glass Staircase

5 Reasons To Use A Glass Staircase

Many of us do not understand the importance of a staircase, whether for safety or for a showstopping centrepiece; there are many different designs out there. When referring to a glass staircase, we are speaking about the elegant glass panelling on the bannister...
The Latest Home Trend: Industrial Style

The Latest Home Trend: Industrial Style

With the beginning of a brand-new season, there really is no better time to change the style of your home. Spring is a season that is known for breathing new life, and this can also be replicated into your home; especially as we can often go years with the same tired...