You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
1.0 KiB

  1. head: |
  2. <script>
  3. window['_fs_debug'] = false;
  4. window['_fs_host'] = 'fullstory.com';
  5. window['_fs_org'] = '{{org}}';
  6. window['_fs_namespace'] = 'FS';
  7. (function(m,n,e,t,l,o,g,y){
  8. if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;}
  9. g=m[e]=function(a,b,s){g.q?g.q.push([a,b,s]):g._api(a,b,s);};g.q=[];
  10. o=n.createElement(t);o.async=1;o.crossOrigin='anonymous';o.src='https://'+_fs_host+'/s/fs.js';
  11. y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y);
  12. g.identify=function(i,v,s){g(l,{uid:i},s);if(v)g(l,v,s)};g.setUserVars=function(v,s){g(l,v,s)};g.event=function(i,v,s){g('event',{n:i,p:v},s)};
  13. g.shutdown=function(){g("rec",!1)};g.restart=function(){g("rec",!0)};
  14. g.consent=function(a){g("consent",!arguments.length||a)};
  15. g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)};
  16. g.clearUserCookie=function(){};
  17. })(window,document,window['_fs_namespace'],'script','user');
  18. </script>