I'm making a conversion tracking page with postback in php, for the same I need to generate a unique transaction ID on unique click.
So for tracking unique clicks I'm tracking the user's IP address with $_SERVER['REMOTE_ADDR']
and generating transaction ID by md5($_SERVER['REMOTE_ADDR'])
but there is a problem. Suppose there are some users using a WiFi network or due to some other reasons they have the same IP address so the transaction ID which will be generated would be same for them because of which I will not be able to track the conversion while actually in happened because of different devices.
Can anybody suggest to me the way to resolve this problem with php or javascript?