Attribution is the process of identifying the source that led a user to an action, such as purchase or subscription. For example, if someone sees an ad on Facebook and then buys the product, the return will be credited to the Facebook ad .