Business intelligence & user acquisition insight delivered to your inbox:


Posts Tagged With ‘optimizely’


Optimizely Custom Event: Successful Email Submission

When I’m working on a user acquisition project, I use Optmizely to A/B test the email capture landing page.  I always create a custom event that triggers when the user successfully submits an email. Unfortunately, Optmizely doesn’t have a proper API which makes doing this difficult without redirecting to a new page.

It took me awhile to figure out a workaround in Javascript so I wanted to save everyone else the trouble:

First create a regex function to validate an email

function validateEmail(email) {
     var valid_email = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
     return valid_email.test(email);
}

Next, create a function that fires when the user clicks the submit button

 $( document ).ready(function() {
     $("input[type=submit]").bind("mousedown", function validate () {
     }):
}):

Put the entered email into a variable

var email = $("input[type=text]").val();

Write an if statement that uses our ValidEmail function to test if the email is valid

if (validateEmail(email)) {

If the email is valid, send the event to Optimizely

if (validateEmail(email)) {
     window['optimizely'] = window['optimizely'] || [];
     window.optimizely.push(['trackEvent', 'email_submit'])

In the last line we are calling our event ‘email_submit’. You can change this to any event name that you want.

All together it looks like this:

function validateEmail(email) {
     var valid_email = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
     return valid_email.test(email);
}

$( document ).ready(function() {
     $("input[type=submit]").bind("mousedown", function validate () {
     var email = $("input[type=text]").val();
          if (validateEmail(email)) {
               window['optimizely'] = window['optimizely'] || [];
               window.optimizely.push(['trackEvent', 'email_submit'])
          }
     });
});

In Optimizely create a new custom event goal. Set “Custom Event to track” to email_submit.

optimizely custom event


Delicious.com is for normal people

Everyone who uses the Internet uses bookmarks.  Anyone who uses the bookmaking features of a web browser has a massive list of unorganized sites.  Show any normal person Delicious.com and watch their eyes widen.  You don’t need to explain what it is, just start using it and they will ask you.  Explain it and they will want it.  They won’t believe that such a great service exists and nobody told them.

Delicious is for everyone.  Bookmarking is something that everyone already does, it’s easy to use, and it’s immediately useful.

The reason that Delicious didn’t make it to normal people is because Yahoo never packaged it in a way that a normal person could understand.  Go to Delicious.com and try to determine what’s going; it’s impossible.  You would never think that Delicious is a bookmarking service for YOU.  It looks like a site to find new interesting sites, an activity that is popular among geeks.

The entire product category is called Social Bookmaking.  There is nothing less social than bookmarking a site for YOUR future reference.  The concept doesn’t make sense to a normal person.  Delicious bookmarks are public by default, which at first would be weird for a normal person.  The trick is to lead with the value proposition of a personal, organized bookmaking system, available anywhere.  Describing it as a social bookmarking tool leads with the one piece of Delicious that they are least likely to be comfortable with.

I have said before that the formula for creating an application for normal people is to let a technology marinate for 2 years and then dumb it down 100%.  The bookmarking features of Delicious are pretty simple.  In fact, they are even simpler than Google’s Bookmaking service.  Now they need to dumb down how they present themselves and how to get started.  Stop confusing people

Eve Online Isk, Pvp And Ship Guides

with a site discovery application, stop pushing the social features, and focus on creating a site with a clear value proposition: A personal, organized, online bookmaking tool so bookmarks aren’t trapped in the browser.

Could someone else swoop in with a simpler product to capture the market?  Maybe, but I doubt it.  You still need the installed base of geeks who have vetted the service to tell their friends about it. Despite the fact that they have dropped the ball for years now, because of their userbase, Delicious is still in the best position to bring online bookmaking to the masses.

Delicious is Yahoo’s biggest failure.  I don’t know how a company full of smart people could have overlooked their most valuable acquisition.  Then again, that’s the story of Yahoo.  Acquiring companies and then failing to leverage them.

The semantic web is the holy grail in the search engine wars.  How do you beat Google? Have thousands of people describe web pages instead of scanning keywords, put those sites into categories, and point to which is the most popular.   Yahoo has this with Delicious and it should be their top priority to integrate that rich data set into search engine results.  Their second priority should be to broaden the demographic of the userbase so more pages in different subject areas are tagged.  I find myself using Delicious as a search engine quite often.  The interface is too confusing for your average person, but the results are excellent.

I’m not saying that integration would be easy, and they did make an attempt at the beginning of the year.   I’m sure there are many reasons why this is much more difficult than it seems, and a challenge that the Delicious product team has likely rammed their head into the wall to figure out.  Despite this, it is the single most valuable asset that Yahoo holds that Google does not.  If I were them, I would be focusing on that instead of a merger with AOL.

Eve Online Isk, Pvp And Ship Guides
zp8497586rq

Murad Reviews
Exposed Skin Care Reviews
Proactive Reviews
How To Get Rid Of Acne
How To Get Rid Of Stretch Marks
How To Get Rid Of Blackheads
how do i get rid of stretch marks
How To Make Stretch Marks Go Away
How To Get Rid Of Stretch Marks On Breasts
Stretch Marks After Pregnancy
How To Prevent Stretch Marks During Pregnancy
How to Get Rid of Stretch Marks