These are my edits of Rik Schennik's Gumroad widget.
Free Gumroad Sales Widget for iOS
Original version with setup instructions
These versions allow you to display a $ target for your sales and calculate the % of the target that you've reached.
When using the scripts below, replace the 100s or 1,000s, which are highlighted in blue, in this piece of the script with your target: + " | " + Math.round((incomeTotal / 1000) * 100) + "%" + " | 🎯 $1,000"