E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2013, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Wed, 25 Mar 2009 17:45:24 GMT Thu, 23 May 2013 13:29:27 GMT 681 E-JUNKIE 5 E-Junkie Forum http://www.e-junkie.com/bb/ http://www.e-junkie.com/ej/logo.gif 290 104 Post #7 http://www.e-junkie.com/bb/topic/2980/pg/0#post9509 http://www.e-junkie.com/bb/topic/2980/pg/0#post9509 Wed, 25 Mar 2009 17:45:24 GMT
Can someone please confirm whether this solution still works to extract the affiliate ID from the URL? In my case, the affiliate string aff= xxx or j_aff_id=XXXX is not appended to the url when &passaff=true is present in the hop link.

Using $_SERVER['HTTP_REFERER'] produces the referral domain and $_SERVER['QUERY_STRING'] produces passaff=true as the string.

Example Code:

<a href="https://www.e-junkie.com/ecom/gb.php?ii=XXXXXX&c=ib&aff=CCCCC&passaff=true" target="ejejcsingle">Click here to view more details</a>

Thanks


Ed]]>
E-junkie Discussions; EDUK
Post #6 http://www.e-junkie.com/bb/topic/2980/pg/0#post9509 http://www.e-junkie.com/bb/topic/2980/pg/0#post9509 Mon, 17 Nov 2008 20:05:10 GMT
I really appreciate how responsive you all are to requests like these. You keep making a great tool even better!

Andrew]]>
E-junkie Discussions; GoToGuyEnt
Post #5 http://www.e-junkie.com/bb/topic/2980/pg/0#post9509 http://www.e-junkie.com/bb/topic/2980/pg/0#post9509 Mon, 17 Nov 2008 08:50:11 GMT
Anyway, we have added a feature to accommodate your requirement. We now pass the affiliate's client id to your url by appending &ej_aff_id=XXXX, where XXXX is affiliate's client ID to your hoplink as long as you have ?passaff=true OR &passaff=true present in the hop link.]]>
E-junkie Discussions; E-junkieChef
Post #4 http://www.e-junkie.com/bb/topic/2980/pg/0#post9509 http://www.e-junkie.com/bb/topic/2980/pg/0#post9509 Sat, 15 Nov 2008 04:22:10 GMT
The PHP script I put together to read the referer data is very simple:

<?php

$referer = $_SERVER['HTTP_REFERER'];

echo "$referer";

?>

The value that comes back is always the page containing the hoplink and not the e-junkie hoplink URL so I can't get at the affiliate's ID.

Am I doing something wrong here?]]>
E-junkie Discussions; GoToGuyEnt
Post #3 http://www.e-junkie.com/bb/topic/2980/pg/0#post9509 http://www.e-junkie.com/bb/topic/2980/pg/0#post9509 Fri, 14 Nov 2008 13:34:19 GMT
Now I've got something to play with this weekend.

Andrew]]>
E-junkie Discussions; GoToGuyEnt
Post #2 http://www.e-junkie.com/bb/topic/2980/pg/0#post9509 http://www.e-junkie.com/bb/topic/2980/pg/0#post9509 Fri, 14 Nov 2008 06:19:43 GMT E-junkie Discussions; E-junkieChef Post #1 http://www.e-junkie.com/bb/topic/2980/pg/0#post9509 http://www.e-junkie.com/bb/topic/2980/pg/0#post9509 Fri, 14 Nov 2008 00:19:14 GMT
I would like to setup my affiliate program so that affiliates can send people through a hoplink to a web page with some free content on it and also a mailing list sign-up form to get access to more free content.

When a visitor arrives from the hoplink, I would like to populate a variable in the mailing list sign-up form with the affiliate's ID number.

Then, in future emails to that list of prospects in which I link to my products, I would use a hoplink URL and insert the affiliate's ID number from the mailing list database.

Using this approach, affiliates will know that the work they put into sending prospects to my website will pay off even if cookies expire or people sign up from a different computer than the one they order from, etc.

To do this, I need some way to capture the affiliate ID number from e-Junkie when the visitor is forwarded through the hoplink. Is there any way to capture this information?

It would be a huge benefit to my business if I could do this with my affiliate program.

I'm looking forward to your answer,

Andrew Seltz]]>
E-junkie Discussions; GoToGuyEnt