The problem with the quiz was that no matter how you answered, unless you said you were already taking the drug or explicitly allergic to it, the recommended solution was the drug. In other words, this was presented as a way to suss out which of various treatments would be appropriate, but it actually only recommended one.
If this was OTC I may see more cause for concern, but as an Rx drug, any such suppositions would still require a doctor's signoff.
We'd all prefer not to be involved in the mass manipulation of marketing/advertising at all, but that's not real life. As far as this goes, from the details in the article, it doesn't sound like an egregiously wrong thing.
It also sounds like the author was at peace with it until he learned that someone who took the medication had committed suicide. That's certainly some misdirected angst. This was almost definitely an antidepressant medication, and those require careful balancing and coordination by medical professionals. The guy who helped put together a marketing site for a drug that helps hundreds of millions of people is not responsible for the cases where incompetent medical practitioners prescribed it incorrectly.
The author should probably speak to a professional therapist who can help him process this event and understand that he shares no responsibility for the complication that caused a user of the drug, who may have benefited substantially before the complication occurred, to commit suicide.