Update 2025: It seems that Linkedin now removes every single URL Parameter, no matter how and if you encode it. I can't get any of the workarounds to function anymore so we will have to reside to URLs without parameters.