Adding LinkedIn Conversion Tags to Marketo Forms | Community
Skip to main content
Level 2
February 11, 2022
Solved

Adding LinkedIn Conversion Tags to Marketo Forms

  • February 11, 2022
  • 1 reply
  • 2301 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

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.

 

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
February 12, 2022

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.