Linkedin Event-Specific Image Pixel

Support forumLinkedin Event-Specific Image Pixel
Lluc asked 4 years ago
Hi, I just created a new conversion to track an event-specific image pixel after the easy appointments form is submitted but for the moment I haven't been able to make it work. I just created the specific event in Linkedin with the following code: So, what I did is create this function function addLinkedinTag(){
var imgtag = document.createElement('img');
imgtag.height = '1';
imgtag.width = '1'; = 'display: none;';
imgtag.alt = '';
imgtag.src = '';

} and then execute this function when the form is submitted by calling the function inside the easyappnewappointment call back. document.addEventListener('easyappnewappointment', function(event){
}, false); But unfortuntately it's not working, what am I doing wrong? Can someone help me with this? Thanks,