When done, submit here.

1


2


3

Syntax of using partial in your handlebars file

{{> partial_name}}

4


5


6


7


8


9


10


11

Sample Woopra tracking calls


  woopra.track("signup", {
    company: "My Business",
    username: "johndoe",
    plan: "Gold"
  })

        

12


13


14


15


16


17


18

What is HTTP cookie?

Wikipedia page

Some runnable example of how to use cookie in Express.js

Example of implement remember me feature by using cookie

19


20


21


22


23

Heroku - Create

heroku create newapplicationname

Heroku - Push

git push heroku master

24


25


26

Universal Analytics Tracking Code

Where do I get my code again if I've lost it?

Use the instructions on the next slide.


27


28


29


30


31


32


33


34


35


36


37

Goal

Run an A/B test on a grid vs. the old vertical layout


38


39

Random number algorithm

          
  var random_num = Math.random();

  if(random_num > 0.5){
    res.render("index", projects);
  }else{
    res.render("index_alternate", projects)
  }
          
        

40


41


42


43


44

A version like button click event attributes

  • Event Name: a_version_like_click
  • Display Name: Like button clicked from A
  • Description: Like button clicked from A version landing page

B version like button click event attributes

  • Event Name: b_version_like_click
  • Display Name: Like button clicked from B
  • Description: Like button clicked from B version landing page

45


46


47


48


49


50

GitHub - Commit

git status
git add ...
git commit -m "initial analytics lab"

Github - Push

git push

Heroku - Push

git push heroku master

51


52


53


54


55


56


57


58


59


60


61


62


When done, submit here.