How to Add Social Networks to Google Analytics

Cody Schneider••7 min read

You’re looking at your Google Analytics reports and see a nice chunk of traffic is coming from "social." That's great, but it doesn't really tell you anything useful. Was that traffic from your recent LinkedIn post, that experimental TikTok video, or a Pin that took off? In this guide, we'll walk you through how to properly set up social media tracking in Google Analytics so you can see exactly which platforms are driving results.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Why Default Social Tracking in Google Analytics Isn't Enough

By default, Google Analytics uses a set of rules called "Default Channel Groupings" to automatically categorize your website traffic. It tries to identify traffic from known social media sites like Facebook, Twitter (X), and Instagram and bucket it under labels like Organic Social or Paid Social.

The problem is this system isn't perfect. Here's why you need to take control:

  • New and Niche Platforms: Google's list isn't exhaustive. If you're getting traffic from newer networks like Threads, Mastodon, or niche forums like Reddit, GA might misclassify this traffic as Referral or even Direct.
  • In-App Browsers: When a user clicks a link inside a mobile app (like the Instagram or Facebook app), the tracking data can sometimes get lost. This traffic often ends up incorrectly labeled as Direct, making it seem like people just typed your URL into their browser.
  • Lack of Granularity: The biggest issue is that even when GA gets it right, it often just tells you the source (e.g., facebook.com). It doesn't tell you anything about the specific campaign, post, or ad that drove the click. Was it from your page bio, a specific boosted post, or a link in your Stories? Without better tracking, you're flying blind.

When your data is messy, you can't make smart decisions. You end up guessing which efforts are working instead of knowing for sure, which can lead to wasted time and ad spend on channels that aren’t actually delivering.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

The Gold Standard: Using UTM Parameters for Perfect Tracking

The most effective way to track any marketing campaign, especially social media, is by using Urchin Tracking Module (UTM) parameters. These are simple tags you add to the end of your URLs that give Google Analytics precise information about where a click came from.

A UTM-tagged URL looks like this:

https://www.yourwebsite.com/landing-page?utm_source=linkedin&utm_medium=social&utm_campaign=q3_promo

This might look complicated, but it's just your standard URL with a few extra "notes" for Google. Let's break down the most important ones.

Key UTM Parameters Explained

While there are five possible UTM parameters, you really only need to focus on these three for social media tracking:

  • utm_source: This identifies the specific platform where the traffic is originating from. Think of it as answering "Who sent this traffic?" For social media, this would be facebook, linkedin, tiktok, pinterest, etc. (Required)
  • utm_medium: This identifies the type or category of marketing channel. For social media, you’ll typically use values like social, paid_social, or influencer. This helps group similar channels together. (Required)
  • utm_campaign: This is used to identify a specific campaign, promotion, or content piece. It answers "Why are we sending this traffic?" This is where you get granular. Examples could be summer_sale_2024, new_product_launch, or weekly_newsletter_link. (Required)

How to Build a UTM Link, Step-by-Step

Creating these links manually can lead to typos, so it's best to use a tool. Google’s free Campaign URL Builder is perfect for this.

  1. Go to the Campaign URL Builder.
  2. Enter your website URL (e.g., https://www.yourwebsite.com/blog/great-post).
  3. Fill in the campaign_source, campaign_medium, and campaign_name fields. For example:
  4. The builder will automatically generate the final URL for you.

The generated link will be long and a bit ugly. For sharing on social media, it's a good idea to use a link shortener like Bitly or TinyURL to create a cleaner, more user-friendly link.

Best Practices for Consistent UTM Tagging

  • Be Consistent: Decide on a naming convention and stick to it. Does linkedin get capitalized or not? Do you use dashes (-) or underscores (_)? For example, GA will treat LinkedIn, linkedin, and Linkedin as three separate sources. Always use lowercase to keep things simple and consistent.
  • Create a Naming Cheat Sheet: For teams, it's extremely helpful to create a simple spreadsheet that outlines your naming conventions. This ensures everyone is creating links the same way, preventing your data from becoming fragmented and messy.
  • Don't Use UTMs for Internal Links: Never use UTM tags on links within your own website (e.g., from one blog post to another). This will override the original source of the session and corrupt your data.

How to Manually Add a Social Network in Google Analytics

Maybe you forgot to use UTMs or want to clean up how GA categorizes traffic from a newer social platform moving forward. For this, you can modify your "Channel Groups" directly within the Google Analytics admin panel.

This method tells GA, "Hey, when you see traffic coming from this specific domain, I want you to classify it as 'Social'." It’s a great way to fix how GA handles untagged traffic automatically.

Here’s how to do it:

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Step 1: Navigate to Channel Groups

In your GA4 property, click on the Admin gear icon in the bottom-left corner. From there, navigate to Data Settings > Channel Groups.

Step 2: Create a New Channel Group

You’ll see the "Default Channel Group." You can't directly edit Google's default rules, but you can create a copy to modify or, even better, create a brand new channel group. It's best practice to create a new one to avoid breaking the default reporting.

Click Create channel group.

Step 3: Define a Rule for Your New Social Network

Imagine you want to ensure all traffic from Reddit is properly categorized as social media.

  1. Give your new channel group a name, like "Custom Channel Grouping."
  2. Click Add new channel or edit an existing channel definition.
  3. Name your new channel (e.g., "Organic Reddit").
  4. Now, you’ll define the rule. Under "Condition," set the following:
  5. Assign this rule to a specific channel. For our example, select the channel "Organic Social." You are telling GA that any source containing reddit.com should be considered Organic Social.
  6. Click Save to finalize your new rule and your new group.

Now, to see this new group in action, whenever you are in the Traffic acquisition report, you can select your "Custom Channel Grouping" from the primary dimension dropdown menu to see your data sorted with the new rules applied.

Where to Find and Analyze Your Social Traffic Data

Once you’ve started using UTMs and have configured your channel groups, you can finally see the clean, organized data in your GA4 reports.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

The Traffic Acquisition Report

The best place to start is the Traffic acquisition report.

  1. Navigate to Reports > Acquisition > Traffic acquisition.
  2. The default primary dimension is "Session default channel group." Here, you should see clear totals for Organic Social and Paid Social traffic.
  3. To see the granular performance of your individual posts and campaigns, change the primary dimension by clicking the dropdown arrow and selecting Session source / medium.

You’ll now see a list of every source/medium combination that sent traffic to your site, including the custom UTM-tagged links you created. For example, you can now directly compare linkedin / social from your Q3 promo against facebook / paid_social for your summer sale campaign and see which one drove more conversions, engagement, or revenue.

Final Thoughts

Properly tracking your social media efforts in Google Analytics is the difference between guessing and knowing. By moving beyond the default settings and embracing UTM parameters or customized channel groups, you get crystal-clear attribution for your traffic. This allows you to intelligently invest your time and budget into the platforms and campaigns that truly drive your business forward.

Manually tracking campaigns and hunting for insights in Google Analytics is a powerful first step, but it often stops there. Bringing that social data together with your other crucial metrics - like sales from Shopify, ad spend from Facebook Ads, or leads from HubSpot - is where the real story unfolds. We built Graphed to do exactly this, allowing you to connect all your data sources and create live, comprehensive dashboards just by asking questions in plain English. Instead of spending hours in GA reports, you can instantly see your complete customer journey, from ad click to final purchase, all in one place.

Related Articles