moved comment
This commit is contained in:
parent
4a0fd090f8
commit
b0f78fb89d
@ -111,7 +111,8 @@
|
|||||||
var values = form.getValues(),
|
var values = form.getValues(),
|
||||||
eventData = {
|
eventData = {
|
||||||
category: 'LinkedIn Form AutoFill',
|
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: [
|
label: [
|
||||||
values.Company,
|
values.Company,
|
||||||
values.Industry,
|
values.Industry,
|
||||||
@ -122,7 +123,6 @@
|
|||||||
'gclid:' + '{{JS - GA Client ID}}',
|
'gclid:' + '{{JS - GA Client ID}}',
|
||||||
].join(' | '),
|
].join(' | '),
|
||||||
};
|
};
|
||||||
console.log(eventData);
|
|
||||||
// 'eventData' automatically maps to the GTM variables 'dlv - category', 'dlv - action', etc.
|
// 'eventData' automatically maps to the GTM variables 'dlv - category', 'dlv - action', etc.
|
||||||
window.dataLayer.push({
|
window.dataLayer.push({
|
||||||
event: 'formLinkedInAutoFill', // MUST FIX WHEN EXPANDING AS EVENT ONLY FIRES ON DEMO PAGE
|
event: 'formLinkedInAutoFill', // MUST FIX WHEN EXPANDING AS EVENT ONLY FIRES ON DEMO PAGE
|
||||||
|
Loading…
Reference in New Issue
Block a user