Amazon URLs have tracking info as well as do most sites. Trim everything including and after the /ref and you’re usually good to go.
?ref