Interviews
Interviews on Governance, Risk and Compliance
Stay current on new interviews
Stay up to date with news and insights about compliance, governance and regtech.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
document.addEventListener('DOMContentLoaded', function() { // Get all forms on the page const forms = document.querySelectorAll('form'); // Add submit event listener to each form forms.forEach(function(form) { form.addEventListener('submit', function(event) { // Get the form ID or name for tracking const formIdentifier = form.id || form.getAttribute('name') || 'unnamed-form'; // Check if gtag is available (GA4) if (typeof gtag === 'function') { gtag('event', 'form_submission', { 'event_category': 'Forms', 'event_label': formIdentifier, 'value': 1 }); } // Fallback for Universal Analytics (GA3) else if (typeof ga === 'function') { ga('send', 'event', { eventCategory: 'Forms', eventAction: 'submit', eventLabel: formIdentifier }); } console.log(`Form submission tracked: ${formIdentifier}`); }); }); });