There are a variety of prescription discount card programs; I use GoodRX only as an example but my question applies to them all.
How do these things make money?
My local pharmacy just keeps a couple of discount cards at the register, and if a prescription is particularly expensive they'll ask if I want to try a discount card. Recently one of these cards brought a prescription down from $700+ to ~$22. I suppose GoodRX gets some amount of demographic info about me when I use the card but can they really make hundreds of dollars off of that info??? I just don't see where there's a viable revenue stream.