how to insert exit popup script?
I tried to lookup that page source code and tried this code:
<!---Exit Pop-->
<script type="text/javascript">
var ShowExitPopup = true;
function ExitPage()
{
if (ShowExitPopup)
{
ShowExitPopup = false;
location.href = "http://www.weightgainblueprint.com/buildmuscle/wait.php";
return '*************************************************\nTodays Special Offer - Start Gaining Weight NOW!\n*************************************************\n\nW A I T - B E F O R E Y O U G O:\n\nCheck out my step-by-step system that reveals how I packed on 38 pounds of muscle in just 19 weeks!\n\nSimply click the *CANCEL* button below.\n\nYou can try the entire Weight Gain Blueprint system risk-free for 21-days.\n\nTo get INSTANT ACCESS to this special offer, click the CANCEL button below.\n';
}
}
</script>
<!--End Exit Pop--> inserted it here - page settings- advanced setting - scripts - custom script at the bottom of the body section - no luck also tried in page itself insert like snippets still no luck...
any advice please anyone can help?
https://www.unicommercesolutions.com <- WordPress Websites and Maintenance
Just message me for greater discounts :)
https://www.unicommercesolutions.com <- WordPress Websites and Maintenance