I've run into a bit of a problem. I need to be able to encrypt all of my links/packets containing my affiliate code. I've run into big problems with other people hijacking or sniffing packets.
Here's the sequence of events I want to happen:
1. User clicks on link and sends them to mydomain.com/redirect/
(The redirect script uses javascript and the javascript is encoded with my affiliate link.)
2. User is sent from the mydomain.com/redirect/ to my affiliate link.
3. No affiliate details show in the address bar and packets on wireshark show encrypted data that doesn't seem like anything to the naked eye except a string of letters and numbers.
4. Clicks/sales are recorded as normal
Here's what has been happening...
1. User clicks on link and sends them to mydomain.com/redirect/
(The redirect script uses javascript and the javascript is encoded with my affiliate link.)
2. User is sent from the mydomain.com/redirect/ to my affiliate link.
3. No affiliate details show in the address bar BUT the affiliate ID and complete url including relevant details are all visible in a packet.
4. Clicks/sales are recorded as normal
My question to you smart people is how can i encrypt it so that all clicks/sales are recorded and my affiliate id and relevant details aren't easily seen in wireshark?