-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·50 lines (44 loc) · 1.12 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<meta charset="utf-8" />
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/ablytics.jquery.js"></script>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXX-XX']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script>
$(function() {
/* Init ABlytics */
$('#crossSelling').ablytics(
{
'name': 'A/B Test Crossselling',
'expires': 31,
'variants': {
'A': {
'name': 'Mit Crosselling',
'callback': function() {
$(this).show();
}
},
'B': {
'name': 'Ohne Crossselling',
'callback': function() {
$(this).hide();
}
}
}
}
);
});
</script>
<section id="crossSelling">
<h1>Diese Produkte könnten dir auch gefallen</h1>
</section>
</html>