How to Track LinkedIn Ads in Google Analytics
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.
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:
The tags after the question mark (?) provide Google Analytics with clear context about that click.
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:
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:
- Website URL: https://www.mycompany.com/ebook-download
- Campaign Source: linkedin
- Campaign Medium: cpc
- Campaign Name: data-analytics-guide
- Campaign Content: ceo-quote-image
The tool will automatically produce your final URL, ready to copy and paste.
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:
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:
- Navigate to the "Ads" section of your campaign setup.
- Find the field labeled "Destination URL". This is where your ad clicks will go.
- Paste your complete UTM-tagged URL into this field. Ensure you use the full URL, including the
https://prefix and all your parameters. - 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.
- Navigate to Reports > Acquisition > Traffic acquisition.
- 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.
- Click the dropdown menu at the top of the first column and select Session source / medium.
- 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.
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.
- Navigate to the Explore section and click "Blank report."
- In the "Variables" column on the left, click the + icon next to "Dimensions." Import
Session campaign,Session source,Session medium, andSession content. - Next, click the + next to "Metrics." Import the data you want to see, such as
Sessions,Total users,Engagement rate, and any keyConversions. - In the "Tab Settings" column, drag
Session campaignandSession contentinto the "Rows" box. - Drag your desired metrics into the "Values" box.
- Finally, drag
Session source / mediuminto the "Filters" box at the bottom. Configure your filter to exactly matchlinkedin / 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, orpaid-socialfor 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
What SEO Tools Work with Google Analytics?
Discover which SEO tools integrate seamlessly with Google Analytics to provide a comprehensive view of your site's performance. Optimize your SEO strategy now!
Looker Studio vs Metabase: Which BI Tool Actually Fits Your Team?
Looker Studio and Metabase both help you turn raw data into dashboards, but they take completely different approaches. This guide breaks down where each tool fits, what they are good at, and which one matches your actual workflow.
How to Create a Photo Album in Meta Business Suite
How to create a photo album in Meta Business Suite — step-by-step guide to organizing Facebook and Instagram photos into albums for your business page.