daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1) https://parser-gui.rtbhouse.net/parser/5033#custom
  2. CUSTOM PROPERTY: fbdpa_utm
  3.  
  4. !js var productUrl = String(offer.getValue('producturl'));  var utms = productUrl.split('?campaign=netpro_rtbhs&')[1].replace(/(utm_(source|campaign))=([^&]*)/g, function(match) {     var delim = "=";     var parts = match.split(delim),         key = parts[0] ? parts[0] : null,         value = parts[1] ? parts[1] : null;     switch (key) {         case 'utm_source':             return [key, 'me-s_rtbhouse__'].join(delim);         case 'utm_campaign':             value = value.replace(/^me-s_([^-]*)/, 'me-s_rtbhouse__');             return [key, value].join(delim);         case null:             return '';         default:             return parts.join(delim);     } }).replace('var_me','var_me_fcbk');  var utm_campaign_regex = /[?&]utm_campaign=[A-Za-z-_.0-9]+/;  var utm_campaign = utms.match(utm_campaign_regex)[0];  var additionalStringFB = '::N3T:RT-RT-DP-00-00-TD:N3T::';  var newUtms = utms.replace(utm_campaign_regex, '') + utm_campaign + additionalStringFB; newUtms
  5.  
  6.  
  7.  
  8.  
  9. 2) https://parser-gui.rtbhouse.net/parser/5203#custom
  10. CUSTOM PROPERTY: fbdpa_utm
  11.  
  12. !js var productUrl = String(offer.getValue("producturl"));  var utms = "utm_campaign=" + productUrl.split("&utm_campaign=")[1].replace("var_me","var_me_fcbk");  var additionalStringFB = '::N3T:RT-RT-DP-00-00-TD:N3T::';  var newUtms = utms.split('&').reverse().join('&') + additionalStringFB; newUtms;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top