This client has multiple forms in different subdomain that shares the same generic characteristics. We need to map every form based on site but they have no unique identifier in the form to be used.
Used the subdomain URL to give the form a unique class.
var url = window.location.href;
var domainPart = url.split('.greenlanternpizza.com')[0];
var xxx = domainPart.split('//')[1] || 'default';
var className = 'rcfx-custom-class-' + xxx;
my_form.classList.add(className);
Leads are properly captured with the correct mapped form.