PDA

View Full Version : Missing affiliate ID


Koncept.com
14th August 2004, 12:01 AM
Hi,

Hi have a lot of this message in my error & history log :

"Click registration: Missing Affiliate ID when calling click registration".

I suppose that it means that somehow the affiliate ID is missing ?!

Can it be because the visitor does not use Javascript (new affiliate link) ?

Can it be something else but a "affiliate mistake" ?

:)

Thx

mark
14th August 2004, 09:42 PM
Hello,

this message means that the script t2.php (which registers click) was called without parameter a_aid, or with this parameter empty.

If you use JavaScript version of the integration code, this code calls the t2.php script everytime there are some parameters given to the page where the script is placed (usually index.php).
It does not check if a_aid is one of these parameters.
As a result, it will call the script t2.php also if your system uses its own parameters, and it will generate this message.
It is not an error, and it will not influence anything, except putting record into History log.

If you want to get rid of this, you should check for parameter a_aid in JavaScript, and call t2.php only if it is contained in the parameters.
In JavaScript it is not that simple to make it, so I kept it this way.

regards,

mark