Discount Link

You can see the discounts tab from the top navigation bar.  By clicking on it you can see the list of links with discounts.
All discount codes will be listed there and automatically applied in the cart while you place an order. And it doesn’t matter what you have passed in the URL

Discount URL

To generate all short links of these discounts automatically click on the Generate link option as shown below. 

Generate Link

After generating the link you can see options to copy different short URLs and the View button to see the analytics of the generated links. 
To see the original URL with the short URL click on the View in Detail button under the action tab.

Generate Link