LinkedIn conversion tracking

In order to track conversions that happen on your Instapage experience inside your LinkedIn account, you will need to add the following pieces of code in the indicated places.

The following code needs to be placed inside the Javascript > Body section of the landing page (only once per variation): 

The value between the quotes, after the addImage.innerHTML +=  part, is the one that you will need to replace so that it matches the pixel code of your LinkedIn account. The value is the HTML code, and it needs to be placed inside the quotes, exactly as in the above example. 

Screen_Capture_on_2019-09-25_at_19-49-55.gif

Screen_Shot_on_2019-09-25_at_19_53_46.png

Tracking form submissions as conversions:

Add the following code snippet in Javascript > Body under the first block of code. You do not need to edit anything else here, as the LinkedIn pixel is already edited in the first code snippet that is present at the top of this article.

NOTE: The "instapageFormSubmitSuccess" function can only be present on the page once, regardless of how many forms you have or how many actions you want to trigger after form submission. In case you have multiple snippets that need to fire after form submission, you must add all of them under the same Form Submit Callback function. If the snippets are not added under the same Form Submit Callback script, only the last function in the source code will be triggered.

 

Tracking button clicks as conversions:

Add the following code snippet in Javascript > Body under the first block of code. You will need to edit the element ID of the button to match the ID of the particular button you are looking to track.

 

button_gif.gif

The implementation works only once per session (example: the visitor arrives on the page and performs an action - form submission or a button click - once the form is submitted or the button is clicked, the pixel will trigger and it will stay on the page). If the form is submitted again without the page being reloaded, the pixel will no longer trigger again.