It depends on what you are talking:
If it is about implementation, I generrally do a function that will post the highscore on the webstorage if needed, Else will not post it, I can also do a "post_score" function to post it on some platforms like clay.io and facebook.
If it is about conception, I try to see what the player can do, what he will probably try to do in the first place, and even when I want to be sadistic I try to see what is hard to do for him, so I can put a little reward if he does it, humans love rewards *-*.
Also sometimes a score bonus (like a coin), since it is a positive thing, can help manipulating players' mind, you want him to do a somewhat blind jump? Bad design, indicate where he can land by using some good coins so the player tries to grab them by moving towards them, and Hurray, he is safe.
Because bonuses are normally good, an easy bonus is likely to be grabbed if nothing else indicates to do anything.