How to Track LinkedIn Ads in Google Analytics

Cody Schneider9 min read

Tracking your LinkedIn Ads performance directly in Google Analytics 4 closes the loop between ad clicks and actual on-site results. This guide will walk you through setting up cross-platform tracking using UTM parameters, so you can see exactly which LinkedIn campaigns are driving traffic, valuable leads, and sales for your business.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Why Track LinkedIn Ads in GA4, Anyway?

While LinkedIn Campaign Manager provides useful impression and click data, it only tells half the story. The real value comes from understanding what users do after they click your ad and land on your website. Integrating with Google Analytics 4 gives you a complete performance picture.

  • Get a Holistic View: GA4 is your command center for all traffic sources. By properly tagging your LinkedIn ads, you can directly compare their performance against organic search, email marketing, direct traffic, and other channels. You can finally answer questions like, "Are my paid social campaigns driving more engaged users than my organic search efforts?"
  • Analyze Post-Click Behavior: Did the users from your new video ad campaign immediately leave your site? Or did they view multiple pages, spend several minutes exploring, and download an ebook? GA4 reveals crucial engagement metrics like average engagement time, pages per session, and scroll depth, giving you insights into the quality of traffic a campaign is sending.
  • Track True Conversions: A click or a view is nice, but a conversion is what matters. GA4 allows you to track key actions—like form submissions, demo requests, and e-commerce purchases—and attribute them directly back to the specific LinkedIn campaign or even the exact ad creative that drove the user to your site.
  • Maintain a Single Source of Truth: Instead of jumping between LinkedIn reports and GA4, you can consolidate your performance analysis in one place. This simplifies your reporting workflow, ensures data consistency, and makes it easier for your whole team to understand what’s working.

The Secret Sauce: Understanding UTM Parameters

The entire system for connecting ad performance between platforms hinges on a simple but powerful tool: Urchin Tracking Module (UTM) parameters. Don't let the technical name intimidate you, the concept is straightforward.

What Exactly Are UTM Parameters?

UTM parameters are short bits of text you add to the end of a URL. These snippets act as tracking tags that tell Google Analytics precisely where a user came from. When someone clicks a UTM-tagged link, GA4 reads these tags and sorts the incoming traffic into the correct reporting buckets.

A standard URL looks like this:

https://www.yourwebsite.com/solutions-page

The same URL with UTM parameters looks like this:

https://www.yourwebsite.com/solutions-page?utm_source=linkedin&utm_medium=cpc&utm_campaign=winter_promo_2024

The tags after the question mark (?) provide Google Analytics with clear context about that click.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

The 5 Core UTM Parameters Explained

Your UTM tags are built from a few key components. While some are optional, the first three are essential for clear tracking.

  • utm_source (Required): This identifies the source of the traffic, like the social media platform or search engine. For this purpose, it will always be linkedin.
  • utm_medium (Required): This describes the type of marketing channel you're using. Common values include cpc (cost-per-click), paid-social, or social. The key is to be consistent across all your campaigns.
  • utm_campaign (Required): This is the name of your specific campaign, such as q4-webinar-launch or saas-demo-retargeting. Use a name that you’ll easily recognize in your reports.
  • utm_content (Optional, but recommended): This is perfect for differentiating between ads within the same campaign. Use it to distinguish ad creatives, like video-ad-version1 vs. image-ad-version2, so you can see which creative performs best.
  • utm_term (Optional): Originally used for tracking paid search keywords, this parameter has less relevance for LinkedIn ads. You can generally leave this one blank.

Building Your LinkedIn Ad URLs for GA4 Tracking

Creating your tracking URLs is simple, but precision is important to avoid messy data. Here are the best ways to do it.

Method 1: Manual URL Building

For a one-off ad, you can build a URL manually. You start with your destination URL, add a ?, and then join your parameter=value pairs with an ampersand (&).

For example:

https://www.mycompany.com/ebook-download?utm_source=linkedin&utm_medium=cpc&utm_campaign=data-analytics-guide&utm_content=ceo-quote-image

This method works, but it's prone to typos. A small mistake can break your tracking, so the next method is often a safer bet.

Method 2: Using Google's Campaign URL Builder (Recommended)

To prevent errors, use Google's free Campaign URL Builder. This simple form asks for your website URL and your parameter values, then generates a complete, properly formatted URL for you.

Just fill out the fields:

The tool will automatically produce your final URL, ready to copy and paste.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Method 3: LinkedIn's Dynamic UTM Parameters (The Smart Way)

Here is where you can save a tremendous amount of time. Instead of creating a unique URL for every single ad, you can use LinkedIn's dynamic parameters. These are small placeholders that LinkedIn Campaign Manager automatically replaces with the relevant information for each ad click.

You can construct a URL template one time, and it will work across all your ads. Here's what that looks like:

https://www.awesomesaas.com/request-demo?utm_source=linkedin&utm_medium=cpc&utm_campaign={{campaign.name}}&utm_content={{creative.id}}

When an ad is clicked, LinkedIn automatically inserts the actual campaign name and the unique ID of the ad creative into the URL. For example:

  • {{campaign.name}} becomes Data_Analytics_Lead_Gen.
  • {{creative.id}} becomes 12345678.

This allows you to track performance down to the specific ad creative level in GA4 without creating dozens of manual URLs.

Applying Your Tracking URL in LinkedIn Campaign Manager

Putting your UTM-tagged URL to work is the easiest part. When you are creating or editing an ad in LinkedIn Campaign Manager:

  1. Navigate to the "Ads" section of your campaign setup.
  2. Find the field labeled "Destination URL". This is where your ad clicks will go.
  3. Paste your complete UTM-tagged URL into this field. Ensure you use the full URL, including the https:// prefix and all your parameters.
  4. Launch your ad. That's it!

Once your campaign is live, every click will carry that tracking information over to Google Analytics.

Finding Your LinkedIn Data in Google Analytics 4

After your campaign runs for a day or two, you'll have data to analyze. Here’s how to find it in GA4.

The Traffic Acquisition Report

This is the best place to get a quick overview of performance.

  1. Navigate to Reports > Acquisition > Traffic acquisition.
  2. By default, this report shows the "Session default channel group." This will probably group your LinkedIn traffic under "Paid Social" or "Organic Social." To get more detail, you need to change the primary dimension.
  3. Click the dropdown menu at the top of the first column and select Session source / medium.
  4. You can now scroll down or use the search bar to find linkedin / cpc. This row will show data exclusively from your tagged LinkedIn ad campaigns.

To see performance by campaign name, click the blue + button next to the primary dimension dropdown and add a secondary dimension. Search for and select Session campaign. This will add another column showing you the performance metrics for each utm_campaign you created.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Creating a Custom Report in Explore

For deeper, more customized analysis, use the "Explore" functionality in GA4. This allows you to build a dedicated report that you can save and revisit anytime.

  1. Navigate to the Explore section and click "Blank report."
  2. In the "Variables" column on the left, click the + icon next to "Dimensions." Import Session campaign, Session source, Session medium, and Session content.
  3. Next, click the + next to "Metrics." Import the data you want to see, such as Sessions, Total users, Engagement rate, and any key Conversions.
  4. In the "Tab Settings" column, drag Session campaign and Session content into the "Rows" box.
  5. Drag your desired metrics into the "Values" box.
  6. Finally, drag Session source / medium into the "Filters" box at the bottom. Configure your filter to exactly match linkedin / cpc.

This creates a custom, filterable report that you can name and save for easy access to your LinkedIn ad performance. No more filtering the main traffic report every time!

Pro Tips for Flawless Tracking

To keep your data clean and reliable, follow these simple best practices.

  • Standardize Your Naming Conventions: Before you launch, decide on a naming system. Will you use cpc, paid_social, or paid-social for your medium? Will campaigns use underscores or dashes? Document this in a spreadsheet and share it with your team to ensure everyone tags URLs the same way.
  • Always Use Lowercase: Google Analytics is case-sensitive. "LinkedIn" and "linkedin" will show up as two separate traffic sources. To keep things clean, stick to lowercase for all parameters.
  • Test Your Links Before Launching: After creating a tagged URL, click on it yourself. Then, open GA4 and navigate to Reports > Realtime. Within a minute, you should see your visit appear with the correct source, medium, and campaign. This simple check can save you from launching a campaign with broken tracking.
  • Never Use UTMs for Internal Links: UTM parameters are for external marketing channels only. If you use a UTM code on a link from your homepage to your pricing page, it will overwrite the user's original traffic source and incorrectly report them as coming from an internal campaign.

Final Thoughts

Investing a few extra minutes to properly tag your LinkedIn Ads with UTM parameters will pay off immensely. This process empowers you to move beyond simple click data and understand how your ad spend is truly impacting business goals like leads, webinar signups, and sales directly within Google Analytics.

Manually building URLs and then trying to connect the dots between your LinkedIn Campaign Manager and Google Analytics dashboards can still feel repetitive as you scale. We created Graphed to simplify this entire process. You connect your LinkedIn Ads and Google Analytics accounts once, and then you can use plain English to build real-time reports instantly—no more exporting data or juggling browser tabs. You just ask, "Show me my top LinkedIn ads by conversions and cost per conversion this quarter," and get a live dashboard immediately.

Related Articles