Should I Always Use A PHP Redirect?

Fiver

New member
Jan 30, 2009
2,011
12
0
When putting in a destination URL into the ad, is it wise to always send the user to a PHP redirect before sending them to your 202 tracking link?

On the positive side, it would seem it's easier to swap out offers from different networks that way.

Also, would this also be a double meta refresh?
 


Use Mod_rewrite and .htaccess files to setup in the best way your redirects.
 
If it's facebook, fuck yes all the time.

The only thing about Facebook is that like pretty much everyone else, I use the FB Ad Manager.

Since that tool is appending its own SubID to the link you give it, how can you possibly put in a PHP link there since it will append each unique SubID to your php link instead of the affiliate link which is in your php file?
 
The only thing about Facebook is that like pretty much everyone else, I use the FB Ad Manager.

Since that tool is appending its own SubID to the link you give it, how can you possibly put in a PHP link there since it will append each unique SubID to your php link instead of the affiliate link which is in your php file?

I think it'll be faster if you read this: Khoa's SekC Bllog

Scroll down to Ultimate tracking script. You're using the GET parameter to pass the subid to either the p202 url or the network's.
 
I think it'll be faster if you read this: Khoa's SekC Bllog

Scroll down to Ultimate tracking script. You're using the GET parameter to pass the subid to either the p202 url or the network's.

Well...that looks like a great FB guide which I'll be reading next...but it still doesn't answer my question. The blogger said he'd post how to use the php script with the the FB Ad Manger and he never did.

1. In the article, the author just uses the following as his Destination URL: domain.com/zwinky/?sub=1

However, when using the Ad Manager, how am I supposed to use the tokens ( {age} {country} {subid} ) in the Ad Manager script/php file so it automatically appends these?

Could somebody please write out an example link for me to use so I can see how it's done.


2. Also, is it better for every offer to have its own folder or can I use an array php script containing all my offers and campaigns like the following:

Code:
<?php
# get the site and define the links array
$site = $_GET['site'];
$links = array();

# Network 1 - Offer 1
$links['1'] = 'affiliatelinkhere';


# Network 2 - Offer 1
$links['2'] = 'affiliatelinkhere';


# redirection
header('Location: '.$links[$site]);
?>
 
I personally haven't figured that one out yet. I didn't know you could append that shit to the URL. What i do is append the subid to the ad name in facebook. So fbadsmanger gives out numbered sub ids, which with the php script you append onto your tracking url. So if I realize add #413 is doing well, I just go to my ad group in facebook then ctrl + F the number 413.
 
I personally haven't figured that one out yet. I didn't know you could append that shit to the URL. What i do is append the subid to the ad name in facebook. So fbadsmanger gives out numbered sub ids, which with the php script you append onto your tracking url. So if I realize add #413 is doing well, I just go to my ad group in facebook then ctrl + F the number 413.

Maybe I'm missing something but I don't understand what you're saying.

Let's say I make 20 ads in round 1 with the Ads Manager. How do you take the 20 numbered subIDs given by FB Ads Manager for each ad and append those to your tracking URL in the php script?