-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathindex.html
38 lines (36 loc) · 1.16 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
---
layout: default
title: Analytics
---
{% include _body.html %}
<script type="text/javascript" charset="utf-8">
analytics.setup({
site: 'global',
section: 'skyglobal/analytics/demo',
account: 'bskybglobaldev',
customEvents: [
{'magic_happened': {event: 101}},
{'serial-event': {event: 666, serial: 'devil12345'}}
],
customVariables: [
{'colour': {'eVar': 71}},
{'drink': {'eVar': 72}},
{'how_about_pina_coladas': {'eVar': 73}},
{'customer-offers': {list: 2}},
{'briansEVarAndPropCat': { eVar: 11, prop: 66, value: 'is great' }},
{'my-heirarchy': {hier: 3}}
]
});
analytics.trackPage();
analytics.trackMedia({
videoElement: document.getElementById('pooh-video'),
category:"skymovies",
mediaUrl:"http://static.video.sky.com/skymovies/2014/02/73756/73756-576p_2000K_H264.mp4",
videoTitle:"Winnie the Pooh: Trailer",
type:"video",
guid:"clip-0044tyky",
videoFormat:"576p|2000k|video/mp4",
provider:"skyvideolibrary",
duration: 126
});
</script>