How Do I See What Place A Player Came From?

If a player teleported to my game from another game, how could I check what game they came from? Is this possible? Is there a function I can call to get the game ID or something?