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.
First create a regex function to validate an email
Next, create a function that fires when the user clicks the submit button
Put the entered email into a variable
Write an if statement that uses our ValidEmail function to test if the email is valid
If the email is valid, send the event to Optimizely
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:
In Optimizely create a new custom event goal. Set “Custom Event to track” to email_submit.
The success of LivingSocial and GroupOn has garnered a lot of interest in their business model. Almost every content site is evaluating whether they should add a daily deals component to their business. This is a guide to decide whether or not you should start a daily deals business, and if so how to go about doing it. I take a very metrics driven approach. If you are evaluating this from a marketing and strategy perspective, I would refer to Yipit’s guide here.
As a metrics consultant, I have helped a number of companies in the daily deals space through this process. As a word of warning, this is EXTREMELY hard. The simplicity of the user-facing software makes this business look deceptively easy. All of the complexity is hidden behind the scenes. That said, here we go.
Part 1: Should I Start a Daily Deals Business?