I need help delaying a redirect page for conversion tracking

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dunrented
Forum Newbie
Posts: 2
Joined: Sat Mar 21, 2009 6:24 pm

I need help delaying a redirect page for conversion tracking

Post by dunrented »

Hi, I don't know if this is the right forum. But here is what I need help with.

I am doing an affiliate landing page, and after the video shows it processes the swf code and proceeds to a redirect page for tracking purposes. the redirect then goes to a CLickBank item.

What I am trying to do is pass the original adword's keyword and tracking id that is sent to the landing page from Google's adword campaign. I want to do 2 things, first is to pass the keyword and tracking id to the redirect and then pass it through to clickbank. But I want to set a delay timer on the redirect page so that clickable has time to record the conversion page.

here is my landing page http://secretdogtraining.com

here is my redirect page code:
video.php
<html>
<head>
</head>
<body>

<script>
location =
"http://dunrented.sitstay.hop.clickbank.net/";
</script>

<script type="text/javascript">
document.write(unescape("%3Cscript src='" + (location.protocol=="https:" ? "https://" : "http://") + "cn.clickable.net/js/cct.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
document.cookie=cct.CookieCheck(document.cookie);
cct.cct_log('0420-6L4eaaad5613c9064e39ac126c6bee7daa88');
</script>

<!-- #BeginLibraryItem "/Library/googleAnalytics.lbi" --><script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7867079-2");
pageTracker._trackPageview();
} catch(err) {}</script>

<script type="text/javascript">
document.write(unescape("%3Cscript src='" + (location.protocol=="https:" ? "https://" : "http://") + "cn.clickable.net/js/cct.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
document.cookie=cct.CookieCheck(document.cookie);
cct.cct_log('0820-6P4aagae5V6i1e3wc9064e39ac126c6bee7daa88');
</script>
<!-- #EndLibraryItem --></body>
</html>
nyoka
Forum Commoner
Posts: 45
Joined: Thu Apr 09, 2009 12:53 pm

Re: I need help delaying a redirect page for conversion tracking

Post by nyoka »

For a delayed redirect have a look at the <META http-equiv="refresh" content="5;URL=http://www.domain.name/to_be_sent.to"> which can be added within the <head> html tag.
Post Reply