Skip to content

Instantly share code, notes, and snippets.

@vinayakhumberi
Last active March 11, 2020 15:09
Show Gist options
  • Save vinayakhumberi/c79db8efae133c6f6edad7af7cc6baee to your computer and use it in GitHub Desktop.
Save vinayakhumberi/c79db8efae133c6f6edad7af7cc6baee to your computer and use it in GitHub Desktop.
Performance Script usage
<script>
(function(d, script) {
script = d.createElement('script');
script.type = 'text/javascript';
script.async = true;
script.onload = function(){
// remote script has loaded
};
script.src = 'http://www.google-analytics.com/ga.js';
d.getElementsByTagName('head')[0].appendChild(script);
}(document));
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment