It’s not that deep, probably it’s default code for any time you make any type of purchase from the store. No need to get worked up about clicking yes for a free item.
They can trigger free legendaries for every one when there’s an update, that’s what they do now before every expansion
Unless there’s a technical limitation, the only reason I see not to use such trigger would be to force people in the shop and hope they make compulsive purchases