Home > Programming, Servers & Scripts >

[ SCRIPT ] Bulk SubID Postback/Pixel Firing Script (3)


07-19-2014 05:39 PM #1 mykeyfocus (Member)
[ SCRIPT ] Bulk SubID Postback/Pixel Firing Script

Here is a little script i made to simplify the process of firing pixels for a network when you have a list of subids.

FOR EXAMPLE...

Say you use Decisive and use their {{{bidhash}}} on the end of your direct linked affiliate link like so http://affnetwork.com/offer.php?id=1&subid={{{bidhash}}}

In your affiliate network view a list of all your converted subIDs, for example:
(If your network only lets you view SubIDs along with other click data you can use Notepad++ Macros to remove the other data so you're just left with the subIDs)

987sfasfaskhj98798wehshgfa9s876
asfasf987asf9as8g709dg8g09f8h0d
asfkla873893jsafkhsfkljhkjgdf8798s
afsoljf98739873jejdjksd89s8938938

Copy the code below and save it in whateveryouwant.html (or .php) and open in a webbrowser.

Now paste those into the SubID's box and click Post Subs - simples!

Saves some time! Hope you find it useful!

HTML Code:
<html>
<head>

<script>
	
	function post(subid){
		ifrm = document.createElement("IFRAME");
		ifrm.setAttribute("src", document.getElementById('postback').value+subid);
		ifrm.style.width = 100+"px";
		ifrm.style.height = 100+"px";
		document.body.appendChild(ifrm);
	}
	
	function postSubs(){
		var subs = document.getElementById('subids').value.split('\n');
		
		var x = 0;
		while (x < subs.length){
			post(subs[x]);
			x++;
		}
	}

</script>

</head>
<body>

<h2>Postback</h2>
<input id='postback' type='text' style='width:700px;' value='http://win.crwd.io/convert/'></input>
<br>

<h2>Sub IDs</h2>
<textarea id='subids' rows="25" cols="60"></textarea>

<br>
<button onclick='postSubs();'>Post Subs</button>



</body>


07-19-2014 07:32 PM #2 bbrock32 (Administrator)

I can see that being pretty handy, thanks for sharing!


07-20-2014 08:14 AM #3 caurmen (Administrator)

Specifically useful for something I'll be doing shortly - much appreciated, thanks!


Home > Programming, Servers & Scripts >