Tag Cloud for this topic:
|
PHP to extract Affiliate ID / Hop Link
|
changenow
member
Posts: 5
|
Hi there! :-)
Does anyone know the php how I can extract the affiliate ID from the Hoplink my affiliates use because I want to put that into an aweber form... ;-)
Sounds complicated, but I want to track the prospects my affiliates send also through aweber - because they get a follow up - and maybe order from another computer...
The hop link links to my opt-in page (which is then re-directed to my salespage... ;-) )
I would appriciate any help!!! :-))
Thank you!! :-))
Many greetings from Germany!!
André
# POSTED ON: April 21, 2009 @ 08:09 GMT -7
|
E-junkieGuru
E-Junkie Crew
Posts: 1844
|
The hop link directs the buyer first to our server, where we set the affiliate-tracking cookie in their browser before instantly redirecting the buyer to your landing page. All of this happens near instantaneously, but the buyer isn't progressing directly from the affiliate's page to your page, so the affiliate ID is stripped from the URL before the buyer ever gets to your site. I am not sure, but maybe your HTTP Referrer might show the hoplink URL?
# POSTED ON: April 21, 2009 @ 20:29 GMT -7
|
changenow
member
Posts: 5
|
Hi Tyson! :-)
Thanks a lot for your answer. I browsed Google yesterday - and found another article here in the forum:
E-junkieChef
E-Junkie Crew
Posts: 831
I guess browser ignores the e-j URL as we are simply doing a 301 redirect to you.
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.
#
POSTED ON: November 17, 2008 @ 01:50 GMT -7
MODIFIED ON: November 17, 2008 @ 02:02 GMT -7
Does that mean I can get the affiliate value by $_GET['ej_aff_id'] ???? Do I have to add the &passaff=true manually to the Hoplink?
I would be great if this was done automatically because I believe most of my affiliates are not technically good enough and they will forget to do it.
Thanks for your help! :-)
André
# POSTED ON: April 21, 2009 @ 23:34 GMT -7
|
changenow
member
Posts: 5
|
Hi Tyson!
I tried the solutin The E-Junkie Chef suggested but it doesn't work - the affiliate ID isn't passed trough even when I add the &passaff=true to the link...
Any more suggestions?!?! ;-))
Many greetings,
André
changenow
E-junkieChef
E-Junkie Crew
Posts: 831
I guess browser ignores the e-j URL as we are simply doing a 301 redirect to you.
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.
#
POSTED ON: November 17, 2008 @ 01:50 GMT -7
MODIFIED ON: November 17, 2008 @ 02:02 GMT -7
# POSTED ON: April 22, 2009 @ 00:00 GMT -7
|
changenow
member
Posts: 5
|
Me - again... ;-)
I tried everything now - the HTTP Referer, the GET code The COOKIE code... but all I get are empty fields...
Is there no way to get the affiliate ID?! Because this is so vital to me!!
Many greetings,
André
# POSTED ON: April 22, 2009 @ 00:23 GMT -7
|
|