What is the code to have a popup appear then exit right after it loads? i need to add conversion code to it to track conversions but do not want a thankyou page or redirection.
Also, anyway of hiding popup by making it small, last only like 2 seconds, or hidden behind the browser?
I want to put it on an onsubmit function for a form.
may be thats what you are looking for
<div id="popupId">
code for your popup
</div>
setTimeout(function (){document.getElementById('popupId').style.display='none';},2000);
Thanks