// This code notifies Google Tag Manager when a wpForm is submitted document.addEventListener("DOMContentLoaded", function() { var elementsArray = document.querySelectorAll('[id^="wpforms-form-"]'); elementsArray.forEach(function(elem) { elem.addEventListener("submit", function(e) { window.dataLayer = window.dataLayer || []; window.dataLayer.push({ event: "wpFormSubmit", wpFormElement: event.target }); }); }); });
0

Newsroom

Keep up to date with all the latest news from Traveller Chair.

Subscribe to our newsletter to receive a 25% discount code, latest news, advice and offers.