Tip #07: Exit Pop Up Windows
Affiliate Marketing Tips - General Affiliate Marketing Tips & Advice
Tuesday, 04 April 2006

There will often be pages on your website that allow visitors to leave your site. Take a look at your web stats report to identify these pages. These pages are a great place to provide your visitors with targeted pop up advertising, giving you the chance to earn commissions even though the visitor is leaving your site.In the section below, you will see the affiliate code for the pop up ad.

You will need to select the text, copy the text with control+c or apple+c, and then paste the text into a blank text file. At that point, follow the simple instructions included below – and you will have created the ad.

Create Exit Pop Up

1. Paste the coding into the HEAD of your HTML document (replace http://www.actualaffiliate.com with your affiliate URL, and change the width and height to suit your needs)

2.Copy the onunLoad event handler into the BODY tag

<!-- STEP ONE: Copy this code into the HEAD of your HTML --> 

<HEAD><SCRIPT LANGUAGE="JavaScript"><!—Begin
function leave() {window.open('http://www.actualaffiliate.com','','toolbar=no,menubar=no,location=no,height=500,width=500');}// End -->
</SCRIPT>
</HEAD>


<!-- STEP TWO: Copy this code into your BODY tag -->

<BODY onUnload="leave()">