Permalink
Browse files

ab test #500

  • Loading branch information...
1 parent 04fe0be commit 79181914b685bd589c0852199fd38b410474feb8 @zackster committed Jun 12, 2012
Showing with 12 additions and 15 deletions.
  1. +2 −12 node_modules/mysql/package.json
  2. +9 −0 views/index.jade
  3. +1 −3 views/layout.jade

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -14,6 +14,15 @@ script
mixpanel.track("Clicked Listen Button");
return true;
});
+ var treatment_type;
+ if(Math.floor(Math.random()*2)) {
+ treatment_type = "bothering";
+ $("em.venting").text("Is anything bothering you at all?")
+ }
+ else {
+ treatment_type = "default";
+ }
+ mixpanel.register({"AB-TEST": "500", "TREATMENT": treatment_type});
});
View
@@ -46,9 +46,7 @@ html
.nav
ul
li
- a(href="/forum/") Forum
- li
- a(href="/forum/addonchat.php") Group Chat
+ a(href="/forum/") The Forums
li
a(href="/forum/missed-connections/") Missed Connections

0 comments on commit 7918191

Please sign in to comment.