forked from jasonwaters/target-nodejs-sdk-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.tpl
More file actions
36 lines (36 loc) · 1.5 KB
/
index.tpl
File metadata and controls
36 lines (36 loc) · 1.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Target SPA Demo</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" href="https://wwwimages2.adobe.com/favicon.ico" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" charset="UTF-8" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css"/>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css"/>
<link rel="stylesheet" href="assets/css/base.min.css">
<link rel="stylesheet" href="assets/css/app.css">
<script src="VisitorAPI.js"></script>
<script>
Visitor.getInstance("${organizationId}", {serverState: ${visitorState}});
</script>
<script>
window.targetGlobalSettings = {
overrideMboxEdgeServer: true,
clientCode: "${clientCode}",
imsOrgId: "${organizationId}",
serverDomain: "${serverDomain}",
serverState: ${serverState} || {}
}
</script>
<script src="at.js"></script>
</head>
<body>
<div id="app"></div>
<script src="assets/js/app.js"></script>
<script src="AppMeasurement.js"></script>
<script>var s_code=s.t();if(s_code)document.write(s_code);</script>
</body>
</html>