The code below seems to be working - you have to copy into the custom code section of each test and variation. you also need to remove from adding into the head of each page.
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-#######-1']);
try {
if (typeof(s_tnt) == 'undefined') {
var s_tnt = '';
}
if (typeof(_gaq) == 'undefined') {
var _gaq = [];
}
s_tnt += '${campaign.id}:${campaign.recipe.id}:${campaign.recipe.trafficType},';
var sCampaignName = '${campaign.name}';
var sRecipeName = '${campaign.recipe.name}';
if (sCampaignName.length > 0 && sRecipeName.length > 0) {
_gaq.push(['_setCustomVar',1,'Target:' + sCampaignName,sRecipeName,1]);
_gaq.push(['_trackEvent','Adobe Target',sCampaignName,sRecipeName,undefined,true]);
}
}
catch(e){
console.log(e.message);
}
</script>