Skip to content

UTM link builder for LinkedIn

Add UTM parameters to the link you share in a post, so the visits it sends show up under their own name in your analytics.

PostCat AI is not affiliated with LinkedIn.

PostCat AI drafts posts in your own voice for every LinkedIn profile on your team. Nothing is published from a person's profile without their consent: they approve the post, name someone who approves for them, or turn on a setting that publishes for them.

Start Free Trial

Runs in your browser. Nothing you type leaves it.

LinkedIn shortens a link for you. When you share a link longer than 26 characters, LinkedIn automatically shortens it once you click Post. To add tracking before you share, use the free UTM link builder above. It tags your link but does not shorten it. Below, you will find the steps and what LinkedIn's Help pages say.

  1. Paste the link of a page on your own site into the tool.
  2. Check utm_source, which starts as linkedin, and utm_medium, which starts as social. Change either one if you need to.
  3. Fill in utm_campaign and utm_content.
  4. Under More, fill in utm_term and utm_id if you need them.
  5. Read the warnings. The tool flags capitals, spaces, and a missing utm_source, utm_medium or utm_campaign. It changes nothing on its own, so you decide what to edit.
  6. Copy the tagged link with the copy button and paste it into your LinkedIn post.

The tool refuses an address that is not a web page. It reads the link as text and never opens it.

How LinkedIn shortens a link when you post

LinkedIn's Help article on short URLs in shared posts says: "When you share a link that's longer than 26 characters, we automatically shorten it once you click Post, to make it easier to read." The 26-character length is the trigger the article names.

You can add text to your post either before or after the URL. If you share an article and there is no text after the link, the URL is hidden from the share. Write a line after the link so the reader can still see where it goes.

A tagged link is often longer than 26 characters, so LinkedIn will shorten it when you post. Open the tagged link in a browser before you post, to check that it loads.

UTM parameters are small pieces of text in a link. They identify the marketing campaign that sends traffic to a specific website. They come from Google Analytics, which reads them out of the box.

If a parameter is missing, reporting shows the value as (not set). Values are also case-sensitive. The analytics help article on UTM parameters gives utm_source=google and utm_source=Google as two different values, and it recommends lowercase as standard practice.

Keep one utm_medium for each channel. The same guide says this prevents a single marketing effort from splitting into multiple rows.

LinkedIn can show an old image for a link. The preview window may show a cached image, and the image may come from an earlier share of the same URL. To refresh it, follow Use Post Inspector to refresh URL:

  1. Click Post Inspector.
  2. Enter the URL you want to share.
  3. Confirm that the preview window shows the correct content.

Changes you make only affect new posts that include the URL. The preview for existing posts stays the same.

If you see a "cannot display preview" error, the cause may be the landing page's SSL certificate, as this LinkedIn Help article notes. Check that your page loads securely in a browser.

PostCat AI, the company behind the free tool above, turns every link in a post or a comment reply into a tracked short link. It traces clicks, sign-ups, demos and payments on your own site back to the post that started them. Its plans are on the pricing page.

What LinkedIn's documentation does not say

LinkedIn's documentation does not state the following, so check with LinkedIn before you plan around them:

  • Whether you can create or customize a short link yourself.
  • Which short domain LinkedIn uses, and whether there is only one.
  • Whether click data exists for a shortened link.
  • How long LinkedIn caches a link preview.

Guide by Artem Luko ·

Sources
  • LinkedIn Help: Short URLs in shared posts
  • LinkedIn Help: Troubleshoot posts on your LinkedIn Page
  • LinkedIn Help: Use Post Inspector to refresh URL
  • URL builders: Collect campaign data with custom URLs - Analytics Help (support.google.com)
  • LinkedIn Help: URL tracking parameters in Campaign Manager
  • LinkedIn Help: Get started with third-party tracking for LinkedIn Ads
  • LinkedIn Help: Third-party reporting doesn’t match Campaign Manager
  • Dynamic UTM Tracking - LinkedIn (learn.microsoft.com)
  • LinkedIn Help: Set up URL parameters for page load conversions in Campaign Manager
  • Legacy Static UTM Tracking - LinkedIn (learn.microsoft.com)
  • LinkedIn Help: Share articles or links
  • LinkedIn Help: Customize the image and title of a LinkedIn Page post preview

Frequently asked questions

Yes, when the link is longer than 26 characters. LinkedIn's Help article says it automatically shortens such a link once you click Post, to make it easier to read. The shortening happens on posting, not while you type.

The free tools

Free tools for LinkedIn

Start with your team's next post.

Connect your team's LinkedIn profiles and start with a free trial.