Does it take into account the ip of the user and that of the customer? If i want to buy something that is on my commission link, can i ?
Most advertisers have no problem with your purchasing their goods/services via your own CJ aff links. Read the TOS for the specific advertiser.
Yes, they track your ip and referral id. However it depends on the advertiser if they will allow you to buy through your own links.