Last active
May 10, 2020 19:48
-
-
Save jittarao/4ce0f9529b05a37faf710f87242aa248 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- start Gist JS code--> | |
<script> | |
var WORKSPACE_ID = "workspace_id"; // replace workspace_id with your actual workspace id | |
var DELAY_GIST_IN_SECONDS = 5; // replace 5 with the time in seconds you want the Gist tracking code to be delayed | |
setTimeout(function() { | |
(function(d,h,w){var gist=w.gist=w.gist||[];gist.methods=['trackPageView','identify','track','setAppId'];gist.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);gist.push(e);return gist;}};for(var i=0;i<gist.methods.length;i++){var c=gist.methods[i];gist[c]=gist.factory(c)}s=d.createElement('script'),s.src="https://widget.getgist.com",s.async=!0,e=d.getElementsByTagName(h)[0],e.appendChild(s),s.addEventListener('load',function(e){},!1),gist.setAppId(WORKSPACE_ID),gist.trackPageView()})(document,'head',window); | |
}, DELAY_GIST_IN_SECONDS * 1000); | |
</script> | |
<!-- end Gist JS code--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment