Does anyone have any good insights or resources related to adding LinkedIn conversion tags (events) to Marketo forms? All of our website forms are built in Marketo, and as we're ramping up ABM marketing, we want to align basic conversion actions and install all tracking pixels and tags. Obviously, these are secondary to what we're reporting on between Marketo and SFDC, but wanted to go ahead and get these added.
Thanks!
Ryan
Solved! Go to Solution.
You‘ll fire all such Insight tags/ROI pixels in the Marketo Forms 2.0 onSuccess (note: not onSubmit) event.
Interestingly, the LI Insight tag, unlike other loggers, doesn’t use a Beacon, even in browsers that support it. Instead it loads a remote image — a literal pixel. So you can get the most efficient timing by loading the image yourself and in the image’s onload event, redirect the person to the final Thank You URL.
MktoForms2.whenReady(function(mktoForm){
mktoForm.onSuccess(function(values,thankYouURL){
let pixel = new Image,
pixelURL = "https://www.example.com/some/image.gif";
pixel.onload = function(){
document.location.href = thankYouURL;
};
pixel.src=pixelURL;
return false;
});
});
Or you could have a standalone Thank You page and just have the whole Insight tag pasted in there. Anybody who lands on the Thank You page is implicitly a form conversion, in other words.
You‘ll fire all such Insight tags/ROI pixels in the Marketo Forms 2.0 onSuccess (note: not onSubmit) event.
Interestingly, the LI Insight tag, unlike other loggers, doesn’t use a Beacon, even in browsers that support it. Instead it loads a remote image — a literal pixel. So you can get the most efficient timing by loading the image yourself and in the image’s onload event, redirect the person to the final Thank You URL.
MktoForms2.whenReady(function(mktoForm){
mktoForm.onSuccess(function(values,thankYouURL){
let pixel = new Image,
pixelURL = "https://www.example.com/some/image.gif";
pixel.onload = function(){
document.location.href = thankYouURL;
};
pixel.src=pixelURL;
return false;
});
});
Or you could have a standalone Thank You page and just have the whole Insight tag pasted in there. Anybody who lands on the Thank You page is implicitly a form conversion, in other words.