Independent lab testing for contaminants and actual active ingredient levels vs. what's stated. They also publish summaries of studies on the active ingredients that test the effectiveness against claimed therapeutic value. (It's depressing how few studies actually show benefit over placebo.)
Even then, if the effect size is tiny it's little better. Almost every time I see some supplement that's supported by good studies the effect is always minuscule.