Skip to content

Instantly share code, notes, and snippets.

@ardeay
Last active August 17, 2016 02:21
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 ardeay/0868d91e94e8572bb8a6e6feed2deb8e to your computer and use it in GitHub Desktop.
Save ardeay/0868d91e94e8572bb8a6e6feed2deb8e to your computer and use it in GitHub Desktop.
(** we suggest setting this paramenters in the top of your loader so you always have access to them **)
{{$accountID = YOUR_ACCOUNT_ID}}
{{$podurl = YOUR_POD_URL}}
{{$rtpjscdnurl = REALTIME_JAVASCRIPT_CDN_URL}}
<!-- RTP tag -->
<script type='text/javascript'>
(function(c,h,a,f,e,i){c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
c[a].p=e;c[a].a=i;var g=h.createElement("script");g.async=true;g.type="text/javascript";
g.src=f;var b=h.getElementsByTagName("script")[0];b.parentNode.insertBefore(g,b)})
(window,document,"rtp","[{{$rtpjscdnurl}}]","[{{$podurl}}]","[{{$accountID}}]");
</script>
<!-- End of RTP tag -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment