Skip to content

Instantly share code, notes, and snippets.

@mehdimehdi
Created August 12, 2014 18:05
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/6ad15586c3caa2065028 to your computer and use it in GitHub Desktop.
Save mehdimehdi/6ad15586c3caa2065028 to your computer and use it in GitHub Desktop.
var _ptq = _ptq || []; // define or reuse the queue
// pushing a "purchase" action which will be rewarded only once in a lifetime, this needs to be trigger onload.
_ptq.push(['purchase', {ref_id: <order number>}]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment