A Full-Page Script allows you to shorten all (or select) URLs on your website very easily. All you need to do is to copy and paste the code at the end of your page. You can customize the selector as you wish to target URLs in a specific selector. More info on your logged-in dashboard:
Tools -> Full-Page Script