Add embed.html
This commit is contained in:
parent
da88f0d7dc
commit
bc269cc711
19
embed.html
Normal file
19
embed.html
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<h2>Hello World</h2>
|
||||
<div id="comm100-controlpanel" style="width:100%; height: 800px"></div>
|
||||
<script src="https://static.comm100.io/sdk/comm100-embeddable-sdk-v1_0_2.js"></script>
|
||||
<script>
|
||||
var controlPanelClient = new EmbeddedControlPanel({
|
||||
siteId: {site_id},
|
||||
entry: "/reporting/livechat/chatvolume/chatvolumebytime/",
|
||||
container: document.getElementById("comm100-controlpanel"),
|
||||
});
|
||||
controlPanelClient.init();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user