Add embed.html

This commit is contained in:
Matt Demers 2024-06-20 13:16:31 -05:00
parent da88f0d7dc
commit bc269cc711
1 changed files with 19 additions and 0 deletions

19
embed.html Normal file
View 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>