Skip to content

Instantly share code, notes, and snippets.

@maxklenk
Last active January 9, 2018 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxklenk/b6168319d87cdf8be37a35e4b4315b3b to your computer and use it in GitHub Desktop.
Save maxklenk/b6168319d87cdf8be37a35e4b4315b3b to your computer and use it in GitHub Desktop.
STOMT Website Integration - Widget
<script>
// Include the Stomt JavaScript SDK
(function(w, d, n, r, t, s){
w.Stomt = w.Stomt||[];
t = d.createElement(n);
s = d.getElementsByTagName(n)[0];
t.async=1;
t.src=r;
s.parentNode.insertBefore(t,s);
})(window, document, 'script', 'https://www.stomt.com/widget.js');
// Adjust the 'APP_ID' to your application id
// you can find it here: https://www.stomt.com/YOUR_PAGE/apps
Stomt.push(['addTab', {appId: 'APP_ID'}]);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment