Using A Popup To Boost Newsletter Subscriptions - Get Articles by Mitchell Harper

Get Articles
 
  

submit your own reprintable article

Article Categories

Accepting Credit Cards Online
Accounting and Book-Keeping
Advertising
Affiliate and Associate Programs
Articles and Article Promotion
Autoresponders and How To Use Them
Bonuses and Freebies
Branding
Business Ideas
Business Practice
Communication Skills
Competition and Your Competitors
Copywriting
Creativity and Ideas
Customer Service and Support
Domains and Domain Names
Due Diligence
E-Commerce
Ebooks and Ebook Writing
Education
Email List Building
Email Marketing
Ethics and Morals
Expert Status
Ezines and Email Newsletters
Family
Forums
Fraud and Scams
Goal Setting
Graphics and Graphic Design
Guarantees
Health
Internet Auctions
Internet Marketing
Investment and Investing
Job and Career
Joint Ventures
Lead Generation
Legislation and Legal Issues
Management and Best Practice
Motivation
Negotiation
Networking
News Releases and Public Relations
Niche Marketing
Outsourcing
Pay Per Click Search Engines
PC Security and Viruses
Pricing and Supply and Demand
Product Creation
Public Speaking
Publicity
Relationship Building
Reprint Rights
Revenue Generation
Search Engines and SEO
Site Stickiness - Getting Repeat Visitors
Software Reviews
Spam - Unsolicited Commercial Email
Statistics and Tracking
Testimonials
Time Management
Traffic Generation - Getting Hits
Travel
Viral Marketing
Web Hosting
Web Site Design
Working At Home - Starting Out
Blank Page
 
Google
 

> Get Articles > Email List Building > Using A Popup To Boost Newsletter Subscriptions

Using A Popup To Boost Newsletter Subscriptions


PDF icon Download as PDF

Mitchell Harper
mitchellsitetell.com

SiteTell :: The New Tell A Friend Tool
http://www.sitetell.com


[Introduction]



Every top Internet marketer knows that ezine advertising and

promotions are some of the best ways to drive targeted traffic to

your site for little to no cost. If you run a Website and send an

ezine to your visitors, how do you let them signup to receive it?

Do they have to navigate through 5 pages on your site just to get

to the signup page, or do you let them have it as soon as they

enter your site?



If they can't see the signup form to join your ezine as soon as

they come to your site, then chances are that you're missing out

on grabbing their email address all together. Using some simple

HTML and a bit of JavaScript, you can easily get your signup form

to where it needs to be, without ruining your visitors'

experience on your site.



[A Popup is the Answer]



The technique I'm about to describe is one of the best I've ever

used to attract more subscribers to my ezine. Firstly, it

involves the creation of a popup window using JavaScript. Like

many other Webmasters, I once thought that using a popup window

degraded the professionalism of my site. Boy was I wrong!

Adding a simple signup popup to my site increased my ezine

subscriptions from about 20 a day to well over 100! No joke.



Visitors don't want to be annoyed by popup windows every time

they visit your site, however. This is where cookies come into

play. Using cookies, you can make their browser "remember" if

your ezine signup page has already been displayed. If it has,

then the page won't be displayed again.



[Getting and Setting the Cookie]



To start with, we need to create the generic functions that will

actually get and set the cookies from the user's browser. To

access the visitor's cookies through JavaScript, we manipulate

the document.cookie value. It contains all the cookies that have

been set for this user when they visit our site. It's important

to note that we can only access the cookies that we have set,

and not those set by other sites.



Cookies are stored by the Web browser in a plain text file on the

visitor's computer. The browser checks the cookie file on their

hard drive to see whether it contains any cookies for our site;

if it does, the browser loads them automatically for us.



Each cookie is stored as a name/value pair. A sample

document.cookie variable looks like this:



myCookie=myValue;myName=Mitchell;mySite=www.sitetell.com;



We will create two functions named setCookie and getCookie.

They're created between script and /script tags, just before

the /head tag of our HTML page, like this:



script language= "JavaScript"



function setCookie(cookieName, cookieValue, cookiePath,

cookieExpires)

{



cookieValue = escape(cookieValue);

if (cookieExpires == "")

{

var nowDate = new Date();

nowDate.setMonth(nowDate.getMonth() + 6);

cookieExpires = nowDate.toGMTString();

}



if (cookiePath != "")

{

cookiePath = ";Path=" + cookiePath;

}



document.cookie = cookieName + "=" + cookieValue +

";expires=" + cookieExpires + cookiePath;

}



function getCookie(name)

{

var cookieString = document.cookie;

var index = cookieString.indexOf(name + "=");



if (index == -1)

{

return null;

}



index = cookieString.indexOf("=", index) + 1;

var endstr = cookieString.indexOf(";", index);



if (endstr == -1)

{

endstr = cookieString.length;

}



return unescape(cookieString.substring(index, endstr));

}

/script



The setCookie function shown above accepts the name, value, path

and expiry date of a cookie to set. It's used like this:



setCookie('myCookie', 'myValue', '', '');



This would set a cookie named "myCookie", which would contain the

value "myValue". The last two arguments to the setCookie function

are the cookie path and its expiry date. As you can see, you can

leave the last two arguments as ''. The setCookie function will

use default values if they are empty.



The getCookie function accepts the name of a cookie to retrieve,

and returns its value if it exists:



var c = getCookie('myCookie');



"c" would now contain "myValue".



[Displaying the Ezine Signup Window]



Now that we can get and set cookies, we're ready to actually use

the setCookie and getCookie functions. We will create a function

that will check whether or not a specific cookie is set. If it

is, then we will not display the ezine popup window. On the other

hand, if there is no cookie set, we will display the ezine popup

page and set a cookie to indicate that the signup form has been

shown. The function is very simple, and looks like this:



function doPopup()

{

var ezine = getCookie('popupShown');

setCookie('popupShown', 'true', '', '');



if(ezine == '')

{ // Show the popup window

window.open('ezine.html', 'ezineWin', 'width=500,height=400');

}

}



The doPopup function starts by creating a new variable named

ezine, which will contain the value of the "popupShown" cookie.

Irrespective of whether or not the getCookie() function returns

a value, we set the "popupShown" cookie. Our "setCookie" function

automatically sets a period of time for which the cookie will

persist. As you can see from the code snippet below (taken from

the setCookie function we created above), the default is 6 months:



var nowDate = new Date();

nowDate.setMonth(nowDate.getMonth() + 6);

cookieExpires = nowDate.toGMTString();



By resetting the "popupShown" cookie each time the user visits this

page, we're making sure the popup is never displayed again as long

as they continue to visit the site at least once every six months.



The most popular times to display the actual signup form are when

the user jumps to another page or exits your site. Both of these

events trigger the onUnload event handler. We need to tell the

browser to call the doPopup function when this occurs so we

modify the body tag like this:



body onUnload="doPopup()"



Now, if the visitor jumps to another page on our site, or closes

the browser window, then our ezine popup will be displayed in a

new window.



[Conclusion]



This is a very simple method to attract more subscribers to your

ezine, and it'll work for small, medium and large sites alike!

If you're competent with a server-side scripting language such

as ASP, PHP, or JSP, then I would recommend creating the signup

form using one of these languages and storing the visitors' email

addresses in your newsletter database when they click on the

submit button.



[About the Author]



Mitchell Harper is the author of many eBooks and he also owns

SiteTell. SiteTell is a unique viral marketing tool that lets your

visitors tell their friends about your site using either email

or ICQ in just seconds. SiteTell harnesses the power of viral

marketing, making it extremely easy for your anyone to let their

friends, family, colleagues and others know about your site!



Learn more at http://www.sitetell.com





How useful did you find this article?

Not at all
A little
Averagely
Fairly
Very
 


This article can be downloaded freely from http://www.get-articles.com and used on your website or in your ezine so long as the author is credited and their resource box left intact. You should not change any links in the article, and where the article is used on a website it's links should be clickable. Please see our terms and conditions page for more information: http://www.get-articles.com/authors-publishers-terms.php
 

Get Articles


Top Articles

  • Stop Saving Money!
    By Leo J Quinn Jr
    Rating 138 / 195
  • The Top Ten Reasons For Being Honest
    By Monique Rider
    Rating 152 / 180
  • Top 10 Qualities of a Great Team Leader
    By Naseem Mariam
    Rating 143 / 180
    Cambridge Search Engine Optimisation
  • 7 M's of Every Highly Effective Manager
    By Alonzie Scott
    Rating 124 / 175
  • Seven "Secrets/Tips" to Becoming a Millionaire
    By Craig Lock
    Rating 97 / 140
  • Five wonderful steps for good presentation skills:
    By Thomson Chemmanoor
    Rating 44 / 75
  • Do Pop-up Ads Work for Your Site?
    By Brian Su
    Rating 41 / 70
  • TOP TEN TIPS FOR PRESCRIPTION SWIMMING GOGGLES
    By Danielle Ross
    Rating 53 / 65
  • Ten Steps to a Power-Packed, Persuasive Proposal
    By Linda Elizabeth Alexander
    Rating 46 / 65
  • How to get your audience involved in your PowerPoint presentation:
    By Thomson Chemmanoor
    Rating 26 / 65
  • Insider Rollout Secrets Review
    By Alex Poole
    Rating 52 / 55
  • The 7 Signs of a Scam
    By Sharon Davis
    Rating 42 / 50
  • How to write a communication plan
    By Matt Eliason
    Rating 38 / 50
  • The MSN Ranking Code Loophole
    By Chris Rempel and Dave Kelly
    Rating 38 / 50
  • 12-Step Foolproof Sales Letter Template
    By David Frey
    Rating 41 / 45
  • Tips For Non-Sexist Writing
    By Tanja Rosteck
    Rating 35 / 45
  • Preventing Fraud On Your Website
    By Aaron Turpen
    Rating 32 / 40
  • Useless Resume Objectives
    By Rita Fisher, CPRW
    Rating 10 / 40
  • Hacker Prevention Techniques
    By Aaron Turpen
    Rating 30 / 35
  • 6 Steps to Great Customer Service
    By Aaron Turpen
    Rating 25 / 35

    May 25, 2012 © www.Get-Articles.com. All Rights Reserved.