THE PROBLEM:
If @Kym's answer works for you, and you don't want to have a fake URL parameter in your LinkedIn links, a simple solution is just to sign out and then sign back in.
*Writing my own answer since I don't have enough rep to comment on theirs