Monitored URL clicks or copy

Is there a way to automatically replace the URL within a topic for any particular URL (long or short) and then monitor clicks or copies?

Like Twitter, Instagram, and LinkedIn do.