Hello,
I’m configuring an HTML element hidden on page load to be shown after a payment has been made to track an affiliate commission but for some reason the code/script is still firing even though it’s not visible and it’s triggering the affiliate popup on page load even though the HTML element is not visible yet.
Why is this occuring? How do i prevent the script from firing until the HTML element is shown using an action?