Tracing of cryptocurrency transactions isn't as much related to IP as opposed to inputs and outputs. One disadvantage of cryptocurrency in terms of privacy is the lack of frangibility.
Think of it like this, if you throw a handful of one cent coins in a tub full of one cent coins, the original coins would be hard to tell apart from the other coins.
Now, if you are the recipient of 0.02 USD via bank wire, there's no way to tell what the origin of those two cents was if the sender had more than 0.02 cents in his account. Electronic money is fungible. Meaning that the origin of money can't be traced back in history. Once they reach an account sum, they're all bundled together as a net sum, rather than a set of sub-sums depending on their origin.
With bitcoin however, every satoshi that makes up the balance of the address is traced through transactions. Inputs in the address make the total balance. If for instance an input is unspent, an output using this specific input can only be confirmed when the proceeding input has also been confirmed. This example illustrates how the origin of BTC can be traced.
Exchanges can utilize this aspect of bitcoin to know, at least approximately, where youc transactions come or go to. Other than that, crypto is pseudonymous. And aside of people being able to identify that many transactions are coming to and from you, if you are not attaching your ID to your addresses, tracing your person via BTC transactions isn't easy.
In trading or making some transactions like sendings funds into different wallets or to other people all of those are recorded that is the reason why most of the time when we want to use a new cryptocurrency wallet they needed all of our accurate information, and we called this as the KYC or knew your custumer. After we created the accounts we want to use, they are now tracing all of our activities like if we are deposit, some funds came from external websites or any platforms, and also sending it into other addresses. Like today many countries now are accepting the use of cryptocurrency, and it is an extensive database of information that came from different users. However, still, they need to record those to make sure the history of the transactions of the users. One of the essential things that a system must-have is the history of the transactions of cashing in and cashing out the money also to monitor the user if that money is still safe.