Guest User

Untitled

a guest
Oct 21st, 2019
99
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2.  
  3. ire('generateClickId', function(clickId) {
  4.  
  5. // implement to capture clickid
  6.  
  7.  
  8. function createCookie(name,value,days) {
  9. if (days) {
  10. var date = new Date();
  11. date.setTime(date.getTime()+(days*24*60*60*1000));
  12. var expires = "; expires="+date.toGMTString();
  13. }
  14. else var expires = "";
  15. document.cookie = name+"="+value+expires+"; path=/";
  16. }
  17. createCookie("irclickid",clickId)
  18.  
  19.  
  20.  
  21. });
  22.  
  23.  
  24.  
  25.  
  26. </script>
RAW Paste Data