It is what makes a link survive an install. Somebody taps a link, does not have your app, installs it, and your app opens on the thing the link pointed at instead of the start screen.
Your app asks once, on the first launch after the install, and gets back the link that was tapped. The person who installed does not have to paste a code or sign in for it to work.
The concept page explains how the match is made and how long the window stays open.