Results 1 to 14 of 14
January 1st, 2008, 04:15 AM #1
How to redirect from a website page to an advertiser page?
- Join Date
- January 1st, 2008
I would like to put a redirect in a page of my site pointing to an advertiser page. How can I do this? What type of link should I copy from the links the advertiser offers?
does cj allow redirection?
thanks and happy new year
January 6th, 2008, 01:47 PM #2
You'd best check with the individual merchant as to whether they allow redirects. If they do, there are a few ways to do this. All of them easily found with a G search. Here are two easy ones..
1. Meta Tags: Put the following inside the tag..
redirect 301 /yoururl.html http://www.widgetmerchant.com/page.html
January 6th, 2008, 08:16 PM #3
- Join Date
- October 30th, 2007
By the way, in case you create text ads for the redirect page on Google - I'm pretty sure they disallow redirects. You'll find your ad suspended and you'll receive a warning. Too many warnings and they can suspend your account.
January 7th, 2008, 03:46 PM #4
I use this option that ToughTurkey listed:
One issue that i just ran into with CJ is that when i use this redirect, my "Referring Url" that CJ sees is coming up as blank. This doesn't affect me at all, but CJ wants me to change my site so that the referring url doesn't show as blank.
Anyone know how to correct this issue?
February 14th, 2008, 02:28 AM #5Originally Posted by seven-link
If you program in VBScript (asp)...
You can place the affiliate link directly in the body tag but you may run into trouble with nested quotes.
The onload command in the body tag is the key. This page must load completely before proceeding to open the page associated with your affiliate link. This assures that this page will register as the referring url for the affiliate link.
If there is no displayable content other than the body tag this page will be virtually undetectable to the user. You can include counters or any other script you desire.
Last edited by Boomers; February 14th, 2008 at 02:48 AM. Reason: Shortened example links to reduce scrolling...
February 14th, 2008, 03:29 AM #6
Bommers thanks for the samples.
I'm not sure this is possible.
Is there a technique to open the affiliate link in a new windows without loosing the referer?
I guess the logic would be something like:
Pass the referer value to the new window
Inject it in the browser
Redirect to the affiliate link
Might be a simpler way...?
Last edited by delsol; February 14th, 2008 at 03:42 AM.
February 14th, 2008, 03:58 AM #7
I never graduated to PHP so I may not be much help there. I've programmed all the sites on our servers utilizing ASP. I would expect that the scripts will be basically the same with a little different syntax for creating and reading the variable.
I just Googled a PHP reference to check variable syntax. You can try something like the following...
$AffLink = "http://rover.ebay.com/rover/1/711-bla-bla-bla/bla?SID=blaaa&AID=blabla&PID=numnum&mpre=http.....";
The above example may be simplistic and there may be location and URL functions in PHP that would load the new link, but you may run into the same redirection referrer issues as before with that method. Also, PHP is case sensitive so you must consider the case when working with variables.
You could play around with a test page to see what works. That's what I do.
Last edited by Boomers; February 14th, 2008 at 04:05 AM. Reason: Added more info...
February 14th, 2008, 04:11 AM #8
February 14th, 2008, 08:48 AM #9Code:
YOUR STAT CODE HERE
February 14th, 2008, 10:51 AM #10Originally Posted by seven-linkCode:
February 14th, 2008, 12:16 PM #11Originally Posted by bobby131313
One Web...And Oh So Many Ways
February 14th, 2008, 12:26 PM #12Originally Posted by delsol
February 14th, 2008, 12:31 PM #13If someone gets nosy and tries to open that page freestanding, the session variables don't exist and the page will instead open a listing of our eBay store inventory (with affiliate links).
Response.write "Stop fiddling with my URL!" & vbNewLine
February 14th, 2008, 12:39 PM #14Originally Posted by bobby131313
Response.write "Your monitor is about to explode!" & vbNewLine
Because the redirection page will show up as the referring URL, the 'Else' is actually intended for the merchant or network in case they get curious.
By a15648 in forum eBay Enterprise Affiliate NetworkReplies: 1Last Post: December 31st, 2010, 10:34 AM
By Vrindavan in forum Commission Junction - CJReplies: 3Last Post: August 5th, 2008, 09:33 PM
By KODea in forum Programming / Datafeeds / ToolsReplies: 11Last Post: June 8th, 2008, 08:33 PM
By Doug247 in forum Midnight Cafe'Replies: 6Last Post: June 6th, 2005, 12:29 PM
By RedFish in forum Commission Junction - CJReplies: 2Last Post: January 31st, 2003, 04:33 AM