There isn't an out-of-the-box solution for tracking player attribution data. However, if you already work with an attribution provider you’ll be able to retrieve player attribution data from their SDK in your game client and use that data to populate a custom analytics event.
For more information, see documentation on Unity Analytics Attribution Support.