TV202 Prosper202 Tracking202 Export202 WorldProxy202 Meetup202 | Blog Forum Newsletter Twitter | Advertise
Login · Register
Home About Docs Scripts Blog Forums Hosting Donate Download
Before Posting, Have You Read the FAQ? And Have You Searched? If Not Please Do!

Attn: The 202 Support Forum will now be revised
Within the next few weeks the Tracking202 Support Forum will be revised. Some threads will be shut down or reorganized. New rules will be put in place to accommodate those who need help. The 202 team wants to make the forum a more user friendly place for new and old affiliates. We want to make this forum a place for affiliates to help each other be successful.

do you need a redirect.php file for each direct link?

Post new topic Reply to topic Prosper202 Forum Index » Tracking202 Pro General Discussions
New Posts Search Forum
Author Message
chipper2


Joined: Oct 21st, 2009
Posts: 8

Post Posted: Oct 26th, 2009 at 2:07pm Post subject: do you need a redirect.php file for each direct link? Reply with quote

I've attached my index.php and my redirect.php files

onto the end of a site called http://www.stopnshoponline.net/

I'm not currently pulling any data from the networks. I am getting data from Yahoo & MSN.

My networks have asked me to provide them the tracking202 number but I don't see it.

Have I made a mistake in tagging the index.php & redirect.php files onto the end of an existing site? -- what I have now is http://www.stopnshoponline.net/index.php or http://www.stopnshoponline.net/redirect.php. Should I instead create a new url for them? so that they might be in a site called aop.com where index.php is the main file aop.com

I have a lot of direct links. Do I need only one redirect.php file or do I need a redirect.php file for every direct link. If so, what is the naming convention (redirect1, redirect2, redirect3 -- and the link structure--so that these can refer to the index.php file.

Any help you cared to extend would be appreciated. I'm over my head. I posted this over at the setup forum but it doesn't look like help has been there for a week.

Back to top
T202Lex
AIM


Joined: Mar 30th, 2009
Posts: 265

Post Posted: Oct 26th, 2009 at 2:26pm Post subject: Re: do you need a redirect.php file for each direct link? Reply with quote

Hi Chipper,

I got your support ticket and answered your question but I will also post here for the benefit of anyone having the same issue.

First things first, after setting up your ppc networks it is imperative that you sync your accounts so our system can track your accounts. For Yahoo you must make sure your tracking url's are turned on as well (super important)

The way you have setup your redirect is perfectly fine, but it also important that you link your product to the redirect, as opposed to the affiliate url. This is another crucial step in tracking.

If you are connecting to multiple products it is important to setup a redirect for each different affiliate urls and you link each product to eache corresponding redirect. Your redirect names do not have to be redirect1.php, redirect2.php etc... Just make them something descriptive enough so you know what they are. I use the redirect1.php format because it is easy for me.

Finally make sure that the Java script Code we provide you is placed above the closing body tag of your index page.

I hope these steps help you get your tracking setup and running.

thanks for the post,

Alex

Back to top
chipper2


Joined: Oct 21st, 2009
Posts: 8

Post Posted: Oct 26th, 2009 at 4:08pm Post subject: Re: do you need a redirect.php file for each direct link? Reply with quote

Here is the redirect. I've placed it in another url called www.aos.com All I did was put in the affiliate link. Do I need to put html and body tags around the php file?

<?php

//Tracking202 Pro PHP Redirect Code

//Cloaked Version - uses the official Tracking202 Cloaking API: http://go.tracking202.com/?url=

//this is your affiliate url, we've appended the subid to the end with the tracking202pro subid

$affiliateUrl = 'http://www.lynxtrack.com/afclick.php?o=9978&b=mrf1xb8m&p=5492&l=1&s=' . $_COOKIE['t202proSubid'];

//this line is extremely important, this encodes the string so it will work with our cloaked redirect api

$affiliateUrl = urlencode($affiliateUrl);

//now we will redirect the traffic through our api

$redirectUrl = 'http://go.tracking202.com/?url=' . $affiliateUrl;

//this is our custom outbound php redirect

echo " <html>

<head>

<meta http-equiv='refresh' content='1; url=$redirectUrl'>

</head>

<body>

<script src='//sp1.tracking202.com/trk/zoywa21643men4q?t202s={$_COOKIE['t202proSubid']}'></script>

<script type='text/javascript'>window.location='$redirectUrl';</script>

</body>

</html>";

?>

Back to top
chipper2


Joined: Oct 21st, 2009
Posts: 8

Post Posted: Oct 26th, 2009 at 4:23pm Post subject: Re: do you need a redirect.php file for each direct link? Reply with quote

This is the index file. Is this done correctly? Do I need to specify http://www.3addictinggames.com/redirect.php

<head>

<meta name="robots" content="noindex,nofollow">

<meta http-equiv="refresh" content="1; url=http://www.3addictinggames.com/redirect.php">

<script type="text/javascript" src="//sp1.tracking202.com/lp/zoywa21643men4q"></script>

</head>

<body>

<div style="padding: 30px; text-align: center;">

Page Stuck? <a href="http://www.3addictinggames.com/redirect.php">Click Here</a>.

</div>

</body>

</html>

Back to top
T202Lex
AIM


Joined: Mar 30th, 2009
Posts: 265

Post Posted: Oct 26th, 2009 at 7:10pm Post subject: Re: do you need a redirect.php file for each direct link? Reply with quote

Lets move this thread off the forum, can you please personal message me at Support@tracking202.com.

thanks,

Alex

Back to top
Post new topic Reply to topic Page 1 of 1

Creative Commons License This work (Prosper202, Tracking202 and Export202) is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.