-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
88 lines (76 loc) · 2.33 KB
/
index.html
File metadata and controls
88 lines (76 loc) · 2.33 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html>
<head>
<title></title>
<!--script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js">
</script-->
<script>
function setData(){
window.sdto = {
page : {
channel : 'eStore',
subSection : 'Checkout',
name : 'Shipping and Billing',
language : 'EN',
app : 'SprintPrepaid',
interaction : {
pageEvent : 'transactionStart',
transactionName : 'checkout'
},
},
login : {
status : 'not logged-in'
},
account : {
BAN : '<<BAN value>>'
},
subscription : {
subscriberID : '<<Subscriber ID>>',
currentDeviceID : '<<Current Device ID>>'
},
shop : {
cart : {
productList : ['Phone;SPHG360ASB;1;99.99;0.00'],
promoCode: "456",
promoCodeStatus: 0,
promoCodeDiscountAmt: 10
}
}
};
}
setData();
// sdto=null;
//For debug and check the value of sdto
// $.each(sdto, function(index, value){
// if(typeof value =='object'){
// console.log(index + ': ');
// $.each(value, function(ind,val){
// console.log(' ' + ind + ': ' + val);
// });
// }
// else{
// console.log(index + ': ' + value);
// }
// });
//sdto.page.interaction = {'widget':'Order by phone <<put 800 # shown here>>'};
//_satellite.track('widgetInteraction');
</script>
<script src="//assets.adobedtm.com/058f84f4e7e71054c64df8cf68552abe037a02d8/satelliteLib-a8951c456dcd860977c5a9adb212e1927e13a0a5-staging.js">
</script>
</head>
<body>
<ol id="element"></ol>
test
<button onclick="setData();_satellite.track('applyPromoCode');">ok</button>
<!-- Adobe footer -->
<script>
//sdto.page.interaction = {'widget':'Order by phone <<put 800 # shown here>>'};
// alert(sdto.page.interaction.widget);
//_satellite.track('widgetInteraction');
//_satellite.track('reloadSurvey');
if (typeof(_satellite) !== 'undefined'){
// _satellite.pageBottom();
}
</script>
</body>
</html>