I’m trying to get this html button code to work so I can track my button clicks from specific links with the app onclick. I have successfully uploaded the HTML code into the body of the page to track actions on this page, and it works correctly, identifying page landings from specific links. Next, I’m supposed to use this code for my button so I can begin tracking conversions:
<button type=‘button’ href=‘javascript:void(0)’ [onclick='trackConversion("https://app.ruzuku.](onclick=‘trackConversion(“https://app.ruzuku.)
com/courses/64991/enroll”); return false;’>SIGN UP
I embedded an HTML widget on the page and inserted the code. It creates a button but when clicked on it does not forward to the link, nor does it show up in my Onclick app as a conversion.
Any thoughts?