Skip to content

Commit

Permalink
add crisp script
Browse files Browse the repository at this point in the history
  • Loading branch information
jamshidi799 committed Mar 20, 2021
1 parent 83aecab commit f543802
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions plugins/crisp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export default () => {
window.$crisp = [];
window.CRISP_WEBSITE_ID = '20593a63-e04e-4a0d-9b91-db54a4a9465d';

(function() {
var d = document;
var s = d.createElement('script');

s.src = 'https://client.crisp.chat/l.js';
s.async = 1;
d.getElementsByTagName('head')[0].appendChild(s);
})();
};

0 comments on commit f543802

Please sign in to comment.