Last active
August 13, 2021 11:03
-
-
Save liorkesos/7d7fa75275892a925441116fd39fde68 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script> (function(d,t) { var BASE_URL="https://app.chatwoot.com"; var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; g.src=BASE_URL+"/packs/js/sdk.js"; s.parentNode.insertBefore(g,s); g.onload=function(){ window.chatwootSDK.run({ websiteToken: 'Fdm5ypwCWKm8fAEpf9w2Rqsm', baseUrl: BASE_URL }); } })(document,"script"); window.chatwootSettings = { type: 'expanded_bubble', launcherTitle: 'support by hossted' } window.addEventListener('chatwoot:ready', function () { // Use window.chatwoot here // ... window.chatwoot.setCustomAttributes({ serverOffering: "sonarqube", version: "3.16", existingUserId: "liorkesos" // You can pass any key value pair here. // Value should either be a string or a number. // You need to flatten nested JSON structure while using this function }); }); </script> | |
</head> | |
<body> | |
</body> | |
<h1>lala</lala> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<h1>lala</lala> | |
<script> (function(d,t) { var BASE_URL="https://app.chatwoot.com"; var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; g.src=BASE_URL+"/packs/js/sdk.js"; s.parentNode.insertBefore(g,s); g.onload=function(){ window.chatwootSDK.run({ websiteToken: 'Fdm5ypwCWKm8fAEpf9w2Rqsm', baseUrl: BASE_URL }); } })(document,"script"); window.chatwootSettings = { type: 'expanded_bubble', launcherTitle: 'support by hossted' } window.addEventListener('chatwoot:ready', function () { // Use window.chatwoot here // ... window.chatwoot.setCustomAttributes({ serverOffering: "sonarqube", version: "3.16", existingUserId: "liorkesos" // You can pass any key value pair here. // Value should either be a string or a number. // You need to flatten nested JSON structure while using this function }); }); </script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
websiteToken: 'Fdm5ypwCWKm8fAEpf9w2Rqsm', | |
baseUrl: BASE_URL | |
}); | |
} | |
})(document,"script"); | |
window.chatwootSettings = { | |
type: 'expanded_bubble', | |
launcherTitle: 'support by hossted' | |
} | |
window.addEventListener('chatwoot:ready', function () { | |
// Use window.$chatwoot here | |
// ... | |
window.$chatwoot.setCustomAttributes({ | |
serverOffering: "sonarqube", | |
version: "3.16", | |
existingUserId: "liorkesos" | |
// You can pass any key value pair here. | |
// Value should either be a string or a number. | |
// You need to flatten nested JSON structure while using this function | |
}); | |
}); | |
</script> | |
</header> | |
<body> | |
<h1> hello stranger</h1> | |
<p>Something somethin | |
</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment