Skip to content

Instantly share code, notes, and snippets.

@jaworowicz
Last active May 13, 2019 03:37
Show Gist options
  • Save jaworowicz/1794b954b4ee46c1467b82bcff70b2ed to your computer and use it in GitHub Desktop.
Save jaworowicz/1794b954b4ee46c1467b82bcff70b2ed to your computer and use it in GitHub Desktop.
<script type="text/javascript" defer>
var _smid = "ID KLIENTA";
var _smcustom = true;
(function(w, r, a, sm, s ) {
w['SalesmanagoObject'] = r;
w[r] = w[r] || function () {( w[r].q = w[r].q || [] ).push(arguments)};
sm = document.createElement('script'); sm.type = 'text/javascript'; sm.async = true; sm.src = a;
s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(sm, s);
})(window, 'sm', ('https:' == document.location.protocol ? 'https://' : 'http://') + 'app2.salesmanago.pl/static/sm.js');
</script>
Linijka 2: Podanie ID klienta a zakładki ustawienia > Integracja
Linijka 10: Serwer SalesManago - np. "app2" (adres na który jest się kierowanym po zalogowaniu do panelu), również znajduje się w ustawienia > Integracjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment