How to create a social media report in GA4

August 27, 2024

Someone people reminisce about Universal Analytics. And remember it fondly.

One particular area that was really useful was a social media report.

This provided an overview of all social media channels and respective metrics. It was bonza!

Alas, the same report doesn’t exist in GA4, or at least, to the degree. 

But we can do something about that!

Let’s take a look at how to build a social media report.

Table of Contents

GA4 has no default social media report

So GA4 doesn’t have a native report showing top-level data for social media channels.

Sure, you can filter a report by organic / paid social and it will show you just those default channel groups. 

And then even adding a secondary dimension of source and medium doesn’t give you that high-level understanding of how, say Facebook is performing versus TikTok.

Session Source Medium data

How to add a social media report

So, how do we go about amending this?

Well, here’s my solution that involves creating custom channel groups.

Session Social Media Report

And here’s the process laid out:

  1. Create a new custom channel group
  2. Add channels that match the source/medium of each social media channel
  3. Create a custom report that excludes Unassigned
  4. Save a Social Media Report and add it to your reports.

Let’s go through that bit by bit.

Creating a new custom channel group

One cool thing about GA4 is the ability to create custom channel groups. This is something I have referenced before when talking about unassigned in GA4.

Custom channel groups mean you can create rules for the traffic that you set out.

This works out in our favour with social media channels.

So head to Admin > Data Display > Channel groups and click ‘Create new channel group’.

Creating the social media channel group

Once you’ve clicked on ‘create new channel group’ this presents you with the option to ‘Add a new channel’.

So, call the new channel group something appropriate such as a Social Media report.

Then click on ‘Add New Channel’.

Creating specific social media channels

Here’s where we get specific.

For this, you need to outline how you want each social media channel to be categorised. For this, I will use the source/medium of the traffic, but you may find a more appropriate approach.

If I take a look at my traffic acquisition report, filter by social and add a secondary dimension of source/medium I can see lots of relevant ways to attribute the traffic.

Facebook example

So for example, with Facebook, I have called the channel ‘Facebook’ and added 2 ‘OR’ conditions:

  • source contains Facebook or
  • source contains fb

Alternatively, you get a little more fancy and choose to match it using regular expression.

Once you are happy, you can click ‘Save Channel’.

Continue doing that for all the relevant social media channels that you use (and even add in some you may use in the future) until you have a channel group that reflects this image below.

So I have created channels for:

  • Facebook
  • Twitter (or X bleurgh)
  • LinkedIn and 
  • Instagram
Completed social Media channel

Creating that Social Media Report

Once you’ve got the channel created, conveniently that is now available to view in your traffic reports.

Head to your traffic reports (either traffic acquisition or user acquisition) and click the drop-down arrow next to the primary dimension. From there. you’ll see your new social media channel grouping.

Finding social media report in report section

Once you click on it, you’ll see all your traffic allocated to the relevant social media channel (and a big chunk assigned to Unassigned, if you’ve followed my approach)

If you feel so inclined, you could then use a filter to remove unassigned.

I would choose the filter:

  • Dimension equals Session Social Media
  • Match Type does not exactly match Unassigned

That would then remove Unassigned from the report.

Session Social Media Report

Next Steps

Once you are happy with this report, you can then save the report and add it to your reports, in the same way that I have done for creating an SEO report:

  • Click on ‘Customise Report’ at the top.
  • Amend the filters and the default channel to your social media report.
  • Save this

Then head to the library function at the bottom left hand side and:

  • Choose a collection that you see fit.
  • Click on the burger menu and choose edit
  • Add in your social media report and save.

Your social media report should now be available in your reports at the click of a button! Huzzah! 

 

Summary

So there we have, here’s a summary of what to do:

  1. Assess the Source / Mediums of your social media
  2. Create a new channel group that segments social media traffic into the specific social media
  3. Create your own report based on this 
  4. Save and add to the library.

Hopefully, this has helped illuminate how to build a social media report in GA4. Happy building!

Useful Documentation

Regex and GA4

Customising a report

 

Kyle

Author

Hello, I'm Kyle Rushton McGregor!

I have been working in PPC and SEO for over a decade now. I have expertise in supporting charities, SAAS and B2C – helping them drive more traffic and conversions. My experience covers

Scroll to Top