These instructions describes an AB-test development for OSX
##Dependencies & Instructions
/** | |
* isMobile.js v0.4.0 | |
* | |
* A simple library to detect Apple phones and tablets, | |
* Android phones and tablets, other mobile devices (like blackberry, mini-opera and windows phone), | |
* and any kind of seven inch device, via user agent sniffing. | |
* | |
* @author: Kai Mallea ([email protected]) | |
* | |
* @license: http://creativecommons.org/publicdomain/zero/1.0/ |
<script> | |
var m = document.createElement('meta'); | |
m.name = 'robots'; | |
m.content = 'noindex, nofollow'; | |
document.head.appendChild(m); | |
</script> |
#templatePreheader{ | |
background-color:#e61c1c; | |
border-top:0; | |
border-bottom:0; | |
} | |
.preheaderContainer .mcnTextContent,.preheaderContainer .mcnTextContent p{ | |
color:#fefefe; | |
font-family:Helvetica; | |
font-size:9px; | |
line-height:100%; |
$(function() { | |
var experimentID = optimizely.data.state.activeExperiments[0]; | |
var experimentName = experimentID; | |
if (typeof optimizely.data.experiments[experimentID] !== 'undefined') { | |
experimentName = optimizely.data.experiments[experimentID].name; | |
} | |
var variationName = optimizely.data.state.variationNamesMap[experimentID]; |
$(function() { | |
var experimentID = optimizely.data.state.activeExperiments[0]; | |
var experimentName = experimentID; | |
if (typeof optimizely.data.experiments[experimentID] !== 'undefined') { | |
experimentName = optimizely.data.experiments[experimentID].name; | |
} | |
var variationName = optimizely.data.state.variationNamesMap[experimentID]; |
(function() { | |
var url = window.location.host; | |
if(window.location.pathname === ""){ | |
url = window.location.host + "/" + window.location.pathname; | |
} | |
function trackField(){ |
Since we have observed that [problem description]
by [data/observation method]
we want to [make this change]
which should lead to [desired change in behavior]
The effect will be measured by [KPI(s) or metrics that will change]
npm install --global pageres-cli
pageres example.com --crop < res.txt
and you will have a bunch of screenshots of your site.<script type='text/javascript'> | |
_vwo_clicks=10; // Change this number accordingly to the number of clicks you want to track in your VWO heatmaps/clickmaps | |
</script> |