We're hiring

We love digital - Call
03332 207 677
and say hello - Mon - Fri, 9am - 5pm

Call 03332 207 677

Anna Lewis

How To Track Social Media Traffic in Analytics

15th Mar 2011 Analytics, Social Media 2 minutes to read

With all the hype about social media in the news at the moment everyone wants to know whether it would work for them or not, but how do you know? If you’re going to use social media you need to make sure that you measure everything before, during and after so that you can calculate the ROI and find out if it works for you.

You may have seen referral traffic from sites like Facebook and Twitter in your Google Analytics report, but not been able to understand the value of these visits. This post will take you through some simple steps to segment your Google Analytics data so that you can clearly see traffic from social media.

The two methods I’m going to explain are:

– Advanced Segment
– Campaign Tracking

Using an Advanced Segment to Identify Social Media Traffic

Within your profile’s report look to the top right hand corner, here in the grey bar you will see ‘Advanced Segments: All Visits’. Click on All Visits to see the options for Advanced Segments, there are standard segments ready for you such as ‘Paid Search Traffic’ which changes the data that you see to only show traffic that came to the site through paid search. We’re going to create our own advanced segment that shows only traffic from social media.

Create New Segment

Click ‘Create a new advanced segment’
Under Traffic Sources on the left, drag Source in to the dashed box
Type T and select Twitter
Click ‘Add “or” statement’
Drag Source in to the dashed box
Type F and select Facebook
Continue this process for all social media sites you want to track.
Give the segment a descriptive name
Click Create and Apply to Report to see the data.

Here’s one I made earlier:

Social Media Segment

Now when you want to see what traffic from social media you can just select your segments from the advanced segments are in the top right hand corner. The good thing about segments is that these work on backdated traffic so you can measure everything that has happened since you started tracking all traffic. You can also save time by creating it once and then applying it to all profiles that you have access to. However, only you can see the segments that you make – to share them with other analytics users go to Manage advanced segments and click share on the relevant segment.

Here’s my segment that you can use (if you haven’t already done it yourself with my lovely instructions!)

Social Media Advanced Segment – Twitter, Facebook and LinkedIn.

We also use one advanced segment for each source:
Twitter Segment
Facebook Segment

How To Track Social Media Campaigns

If you’re running multiple campaigns across social media platforms you will want to know which ones work the best. To do this, you will need to tag each one individually so that you can clearly identify which visits and conversions came from where. To do this, you’ll want to use the a Google URL Builder.

In this tool you can enter the URL of your landing page, then the details of the campaign. For example:


And then of course, if you get a very large amount of traffic through social media, you could always create a new profile and add a filter to only include traffic from social media sites. But for now, these two methods should be plenty.

If you’d like us to provide this data and other analysis for you, please contact us to discuss our website analytics service.

Share this post

1 Comment

What do you think?

  • aspect-ratio google-adwords-analytics-attribution
    Conor Maurice

    Attribution 101: Google Analytics and AdWords

    In today’s multichannel world, there are mountains of data which provide insights into how users have interacted with your business and their path to conversion (or non-conversion). It is important to understand performance with multichannel marketing, which can be achieved through attribution modelling. Attribution refers to assigning credit to something (a channel, touchpoint, etc.) for the role it played in the final conversion. An attribution model is a rule, or set of rules, that assigns this credit correctly to the right channel or touchpoint.


    Conor Maurice
    26th Mar 2018
  • aspect-ratio bing-logo-woodsign
    Liam Huckins

    Why Bing is a Valuable Paid Media Platform

    For a long time, Bing, the UK’s second-largest search engine, has been underappreciated and, in some instances, even ignored.  Often regarded as the inferior search engine to market leader Google, Bing has historically struggled to appeal to many in the digital world. Most PPC analysts would give justified reasons for neglecting Bing for so long; these include the volume of traffic and the user experience just not matching up to Google. However, the validity of these assessments is now diminishing. Bing has grown and improved rapidly in the last couple of years; if you are not integrating it into your comprehensive digital marketing plan, you run the risk of missing out on a large portion of your chosen market and significant revenue.


    Liam Huckins
    8th Mar 2018
    Paid Search

Digital Ideas Monthly

Sign up now and get our free monthly email. It’s filled with our favourite pieces of the news from the industry, SEO, PPC, Social Media and more. And, don’t forget - it’s free, so why haven’t you signed up already?