From b0f78fb89d480d3ad4bfdd99308abf951a4ec448 Mon Sep 17 00:00:00 2001 From: Cappy Popp <356651+cappypopp@users.noreply.github.com> Date: Thu, 7 Jan 2021 11:26:42 -0500 Subject: [PATCH] moved comment --- LinkedIn - Demo Form Autofill.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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