Newsletter pop-up

Hello, I would like to use my mailerlight newsletter pop-up in softr. mailerlight provides a code for this, but it doesn’t work either in the block for custom code or via settings in the code for the header. Do any of you have experience with this or know how I can present my pop-up on softr?

Another option is to use the standard Softr CTA block for email then add a webhook call in the footer custom code. This is the code for Sensorpro:

<script>
window.addEventListener('load', function() {
  setTimeout(function() {
    document.getElementById("button").onclick = function() {
      var email = document.getElementById(":r0:").value;
      var apikey = '...';
      var url = 'https://sensorpro.net/webhooks/softr.php?apikey=' + apikey + '&email=' + email;
      fetch(url, { method: 'GET', mode: 'no-cors' });
      document.getElementById(":r0:").value = "We got it, check your inbox for something cool.";
    }
  }, 1800);
});
</script>

hey that is of course also a good option, thanks! I have only worked with webhooks via make.com so far, what is the exact workflow of the webhook to open the pop-up?
I hope I understood you correctly, otherwise please correct me!

Did you ever figure out a solution for this? I’m having the same issue…