This works in a social setting, a community, a market but it's much less likely to work against countries as a whole. The policy makers respond to local voters (at best) not other countries.
We've named and shamed China for a few years now that it produces 50% of the world's ocean plastic pollution from a single river. Little has changed.
If, as someone else said, tariffs were imposed to all countries as a function of greenhouse gas output, it would disincentivise their production, and incentivize cleaning country-wide emissions.
As with most things, there is no silver bullet, but a combination of motivators will create the change we need. Independent data monitoring is the first major step to make it possible.
Politicians here like to say our country "already does so much" and we'd be stupid to lead even more. Which is simply not true: we really don't do our fair share of CO2 reductions and are not on track to meet our obligations.
Good data would spell this out to the public and help "sell" the required policies to the people.