Is there a way to associate a transaction ID with an invitation link?

Yes, but that’s before registering. I was referring to after registering.