Skip to content

Instantly share code, notes, and snippets.

@migaber
Last active February 27, 2017 18:37
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 migaber/e477a29e96a48518d49b7523cf563542 to your computer and use it in GitHub Desktop.
Save migaber/e477a29e96a48518d49b7523cf563542 to your computer and use it in GitHub Desktop.
Load instabug websdk asynchronously
(function(i,n,s,t,a,b,u,g) {
i['InstabugObject'] = s;
i[s] = i[s] || {token:a}
b = n.getElementsByTagName('head')[0];
u = n.createElement('script');
u.sync = 1;
u.src = t;
u.id = 'instabugSDK';
b.appendChild(u);
})(
window,
document,
'_instabug',
'https://s3.amazonaws.com/instabug-pro/sdk_releases/instabugsdk-1.0.0.min.js?1486903903',
'YOUR_APP_TOKEN'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment