Skip to content

Instantly share code, notes, and snippets.

@mehdimehdi
Created September 27, 2011 21:55
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 mehdimehdi/1246360 to your computer and use it in GitHub Desktop.
Save mehdimehdi/1246360 to your computer and use it in GitHub Desktop.
JavaScript Snippet to drop on your template
<script type="text/javascript" charset="utf-8">
var is_ssl = ("https:" == document.location.protocol);
var asset_host = is_ssl ? "https://static.punchtab.com/" : "http://static.punchtab.com/";
document.write(unescape("%3Cscript src='" + asset_host + "js/pt.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript" charset="utf-8">
var _ptq = _ptq || [];
var reward_widget_options = {};
reward_widget_options.key = "13a1295c29f7312996986499f413af5d";
reward_widget_options.display = "inline";
reward_widget_options.earningmap = false;
var reward_widget = new PT.reward_widget(reward_widget_options);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment