diff --git a/LinkedIn - Demo Form Autofill.html b/LinkedIn - Demo Form Autofill.html index 98bf88b..292e44e 100644 --- a/LinkedIn - Demo Form Autofill.html +++ b/LinkedIn - Demo Form Autofill.html @@ -111,7 +111,8 @@ var values = form.getValues(), eventData = { category: 'LinkedIn Form AutoFill', - action: 'mktoForm_' + form.getId() + ' [LinkedIn AutoFill]', // will automatically set dlv-action which we'll pass to form id to name mapper in event submit in GTM + // will automatically set dlv-action which we'll pass to form id to name mapper in event submit in GTM + action: 'mktoForm_' + form.getId() + ' [LinkedIn AutoFill]', label: [ values.Company, values.Industry, @@ -122,7 +123,6 @@ 'gclid:' + '{{JS - GA Client ID}}', ].join(' | '), }; - console.log(eventData); // 'eventData' automatically maps to the GTM variables 'dlv - category', 'dlv - action', etc. window.dataLayer.push({ event: 'formLinkedInAutoFill', // MUST FIX WHEN EXPANDING AS EVENT ONLY FIRES ON DEMO PAGE