var _kmq = _kmq || [];
$(function() {

   // No need to do a timeout for default case, if KM times out just don't show ad.
   _kmq.push(function(){
    // Set up the experiment (this is the meat and potatoes)
    var type = KM.ab("Foundation Docs Upsell Type", ["question", "directive"]);

    // TODO: Add alternate between advanced and intro
    var topic = $('h1.docs-page-title').text();
    var header;
    if (type === 'directive') {
      header = 'Master ' + topic;
    } else {
      header = 'Struggling with ' + topic + '?';
    }
    var body = 'Get up to speed FAST, learn straight from the experts who built Foundation.';
    var link = 'http://zurb.com/university/foundation-intro?utm_source=Foundation%20Docs&utm_medium=Docs&utm_content=Struggling&utm_campaign=Docs%20To%20Intro';
    var cta = 'Learn More';

    var html = '<div class="ad-unit"><h3 class="ad-unit-title">' + header + '</h3>' +
               '<p class="ad-unit-text">' + body + '</p>' +
               '<a class="button ad-unit-button" href="' + link+ '">' +
               cta + '</a></div>';
    $('#TOCAdUnit').html(html);

  });

});

@@ -1,296 +1,20 @@
-var _kmq = _kmq %7C%7C %5B%5D;%0A$(function() %7B%0A%0A   // No need to do a timeout for default case, if KM times out just don't show ad.%0A   _kmq.push(function()%7B%0A    // Set up the experiment (this is the meat and potatoes)%0A    var type = KM.ab(%22Foundation Docs Upsell Type%22, %5B%22question%22, %22directive%22%5D);%0A%0A  
+$(function() %7B%0A%0A
   //
@@ -61,18 +61,16 @@
 d intro%0A
-  
   var to
@@ -107,18 +107,16 @@
 text();%0A
-  
   var he
@@ -123,146 +123,30 @@
 ader
-;%0A    if (type === 'directive') %7B%0A      header = 'Master ' + topic;%0A    %7D else %7B%0A      header = 'Struggling with ' + topic + '?';%0A    %7D%0A  
+ = 'Master ' + topic;%0A
   va
@@ -233,18 +233,16 @@
 tion.';%0A
-  
   var li
@@ -392,18 +392,16 @@
 Intro';%0A
-  
   var ct
@@ -419,18 +419,16 @@
 More';%0A%0A
-  
   var ht
@@ -499,26 +499,24 @@
 + '%3C/h3%3E' +%0A
-  
             
@@ -574,18 +574,16 @@
         
-  
 '%3Ca clas
@@ -644,18 +644,16 @@
         
-  
 cta + '%3C
@@ -664,18 +664,16 @@
 /div%3E';%0A
-  
   $('#TO
@@ -699,15 +699,8 @@
 );%0A%0A
-  %7D);%0A%0A
 %7D);%0A

Update language to directive form