Trying to share the Google short Url instead of permalink

Is there a way to change the link shared with a shorten Url ?
I'm trying to do that in order to get public stats of my shared link with Google Short Analytic.
I tried to use URL Shortener plugin and replace get_permalink( $post->ID ); by fts_show_shorturl($post); in your plugin but It's not working. Do you have an idea of how to get it working ?

Thank you so much for your help