How I can get some signal/data when player follows their friend in game?

Hi guys. I want to do a referal system. I have already done referal link and made “invite friends” thing work. They work like needed. But I also want to include this into referal system:


How I can do so?

Stupid thing that I found answer right after I posted this.
Player.FollowUserId handles this functionality.