Skip to content

Instantly share code, notes, and snippets.

@simonmcmanus
Created January 7, 2013 10:49
Show Gist options
  • Save simonmcmanus/4474133 to your computer and use it in GitHub Desktop.
Save simonmcmanus/4474133 to your computer and use it in GitHub Desktop.
Example embedding the GoSquared dashboard.
<!DOCTYPE html>
<html>
<head>
<title>Dashboard integration example</title>
<link rel="stylesheet" href="https://www.gosquared.com/dashboard/css/dashboard.css">
</head>
<body>
<div id="dashboard"></div>
<script>
var GS = {
dashboardContainer: '#dashboard',
layout: 'default',
menuBar: false
};
</script>
<script src="https://www.gosquared.com/dashboard/embed-js/API_KEY/SITE_TOKEN"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment