When we change the wpml language structure to diffrent language in directroies and lets say default is en, the home url becomes url/en/ which then cause redirection issue with query parameters .
we even preserved the url arguments but they only work when changing the language not when site loads for the first time. You can check the image attached.
here is an affiliate link hidden link
but it redirect to hidden link and we are unable to track.