Hi Nick, thanks for posting!
This would be done with Affiliate tracking software. The different affiliate apps allow you to track the users that came to your store and purchased from a link you would create in the app and attach to a specific Affilate - in this case an Influencer.
Some of the apps that you can use to do this are:
There are also a list of more apps here.