@Aureldj95 - you can do this in basically two ways since you don’t have a thank you page and are submitting via AJAX
- Add the LinkedIn event to an onClick() event using JavaScript: onclick Event
- On a successful form submission you can fire a callback function and fire the LinkedIn conversion event in that callback, see this thread: Successful form submission - javascript event - #3 by Smith.S
I like the second solution b/c it ensures that the conversion event is only fired when the form is successfully submitted, whereas the first solution only fires when the button is clicked. Either way it’s going to require a bit of custom code, although the onClick event is much simpler.
Basically when either event occurs you want to fire the LinkedIn event using the code provided, it should look something like this:
window.lintrk('track', { conversion_id: 2343434 });