Commit 574e6a98 authored by Jarek Ostrowski's avatar Jarek Ostrowski

Merge branch 'marketo-fix-test' into 'master'

adding resources dataLayer push

See merge request !17880
parents 3816bc8f 896a9ae6
Pipeline #42602625 passed with stages
in 12 minutes and 6 seconds
......@@ -71,6 +71,7 @@ extra_css:
document.getElementById('demo-info').style.display = 'none';
window.scrollTo(0, 0);
// form.getFormElem().hide();
dataLayer.push({event: 'demo', mktoFormId: form.getId()});
return false;
});
});
......@@ -58,6 +58,7 @@
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
$('.confirmform').attr('style', 'height: initial');
dataLayer.push({event: 'webcasts', mktoFormId: form.getId()});
return false;
});
});
......@@ -83,6 +84,7 @@
$('.webcast-video-container').css('display', 'block');
$('.confirmform').attr('style', 'visibility: visible');
$('.confirmform').attr('style', 'height: initial');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
......
......@@ -40,6 +40,7 @@ extra_css:
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
......
......@@ -36,6 +36,7 @@ extra_css:
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
......
......@@ -35,6 +35,7 @@ extra_css:
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
......
......@@ -50,6 +50,7 @@ extra_css:
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
......
......@@ -43,6 +43,7 @@ extra_css:
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
......
......@@ -43,6 +43,7 @@ extra_css:
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
......
......@@ -43,6 +43,7 @@ extra_css:
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
......
......@@ -43,6 +43,7 @@ extra_css:
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
......
......@@ -43,6 +43,7 @@ extra_css:
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
......
......@@ -46,6 +46,7 @@ extra_css:
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
......
......@@ -47,6 +47,7 @@ extra_css:
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
......
......@@ -44,6 +44,7 @@ extra_css:
form.onSuccess(function() {
form.getFormElem().hide();
$('.confirmform').attr('style', 'visibility: visible');
dataLayer.push({event: 'resources', mktoFormId: form.getId()});
return false;
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment