Continued from page 1
This JavaScript script will open
new window that has your thankyou.htm page. Make sure you change
URL above to point to your recommendation page.
Step 3
On every page on your site, add this in
tag:onUnload="exitcnsl()"
Your body tag will look something like this:
or if it has other properties such as a background color. This tells
browser to execute
JavaScript in
head section if
user goes to another page or closes
browser.Step 4
On every page on your site, add this to every link that you have on those pages that goes to another page within your site:
onclick="exit=false"
This is how it will look like on a link:
To go to our samples page click here at this time.
This tells
browser that if
user clicks on that link,
JavaScript should not be executed. This makes
whole process dormant until
point where your visitor is leaving your site. When
user is leaving your site, they will either shut down their browser, type in a new URL into
browser, click on a link in your site going out of your site, or use their 'Back' button to take them to a site they were in before coming to yours. All these actions will not set
'exit' value to 'false' and so
JavaScript will be executed. Remember, this is added only to links that go to pages within your site so that those links set
'exit' value to 'false'.
That's it!
A bonus application for this
An excellent place to have this is in your search engine positioning doorways. As you may already know, perhaps
best way to get lots of free traffic is to achieve top search engine positions using doorway pages. Doorway pages are pages that are designed to rank highly in search engine results. For more information on doorway pages, see www.searchpositioning.com. The problem is that doorway pages are often not too pleasing to
eye, and cannot be made to look as good as
rest of
pages on your site. That is because they have to strictly adhere to certain text statistics to score highly. So even if you do have a great doorway page that ranks highly, a user may find it and come to it but decide not to click through to your site because they were not too pleased with how your doorway looks like. By adding
JavaScript pieces discussed above, and setting your home page as
URL
script opens in a new page, you will be assured that one way or another, that visitor will see your site as long as they get to your doorway page.
Resources
You probably have quite a few questions on all this, especially if you are new to
web. Since I may be unable to answer all your questions due to time constraints, I want to leave you with a list of sites where you can direct your questions and get more information from.
Recommed-it.com (www.recommend-it.com) has a recommendation service. CGI Resources (www.cgi-resources.com) has about 70 form processors, some of which are perfect for your recommendation application. Javascript.com (www.javascript.com) has links to more information on JavaScript. SearchPositioning.com (www.searchpositioning.com) has extensive information on search engine marketing and doorway pages, and a tool that creates doorway pages for you that already have
JavaScript built in.
I wish you all
best in your marketing efforts online. Please do not ignore these techniques.

David Gikandi
support@searchpositioning.com SearchPositioning.com http://www.searchpositioning.com Positioning is 95% of your business!