Tidy your profile link first
LinkedIn gives every profile a public URL like linkedin.com/in/your-name-a1b2c3. You can change it to something shorter under Edit public profile and URL, which makes the code simpler and the link easier to read if it's printed beside the code.
Check your profile's public visibility settings too, since people who scan without being signed in see only what you've made public.