I am considering to visit Iran. After that, I would fly to the UK, either via Qatar or Turkey.
I read that I don't qualify to enter the United States under the visa waiver program after visiting Iran. I really want to avoid getting a visa for the US, so I am wondering what the chances are that the immigration authorities will end up having records about my trip to Iran.
From Wikipedia I gathered that Iran does not stamp passports anymore, so there should not be a way for any government to know about my visit based on my passport only.
The way I understand the "Advanced Passenger Information" is that the countries I leave, enter or travel through might receive the API data from the airline I am flying with. That means that the UK would likely know that I was in Iran, and that they also have data about all my other past trips starting or ending in the UK. However, I don't really understand whether the UK will by default share this data with the US or not.
Also, what happens if I ever fly to the US using Qatar airways again? Will the US only get API data about this one trip to the US or is there a chance that they will get information about other flights with this airline?