$("#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]
7 Easy Ways to Transform Your Balcony

7 Easy Ways to Transform Your Balcony

A balcony is a brilliant addition to any building as it helps to bring the outdoors in. Balconies are a great way to gain some outdoor space if you have a small garden or no outside area at all. In this blog, we take a look at some ways to transform your balcony to...