They sell data. They might even assist insurance companies because I don’t think purchases made via GoodRx apply towards deductible/out of pocket maximum.
https://www.goodrx.com/blog/how-to-use-goodrx-with-high-dedu...
I was partly going by information from this pharmacist:
Is it really to provide a break to the individually uninsured?
I am not sure either, but I can’t figure out what other play there is than selling data.