How to Track Social Media with Google Analytics
Add bookmarkFor all the information and insight Google’s powerful Analytics tools can provide, they’re still only providing some top level figures, primarily Direct, Search and Referral traffic. Think, "Traffic is traffic?" Well think again, as more and more marketers and private individuals are drilling deeper to gain a better understanding of what social media actions are resonating well with their communities, and which aren’t.
But how do we separate the social media wheat from the day-to-day chaff? By adding a few Advanced Segment filters to your Google Analytics account, you can easily pinpoint social media interactions, and thus the associated traffic sources for your web property.
Let’s get started…
First and foremost, you’ll need a fully functioning Google Analytics account, meaning, your tracking code is installed correctly, and Google provides the, "All systems are a-go!" message. Once your code is up and running, it’s time to start pulling social media out of those numbers. To do this, we’ll need to set up a Custom Segment.
To set up a custom segment, first navigate to Traffic Sources in the list of available options from the left column. Once highlighted, in the top right corner, just above the date range, click on the drop down menu labeled "All Visits" (see above). This will toggle the option to bring up the Advanced Segments dialogue. This is the area where we’ll "Create a new advanced segment."
Once in "Create Advanced Segment," we’ll now need to define the parameters for our custom filter. That sounds a lot more scientific than it actually is. In barroom speak, what we’re doing here is telling Google Analytics what sources we want specific data for; in this case, social media variables.
Again in the left column, select "Traffic Sources" from the available options. Here you’ll be presented with a number of options, and we’re after the "Source" variable. Select and drag "Source" into the dotted "dimension or metric" box in the work area. Once you’ve done this, you’ll now need to define the Condition and Value of this Source segment. Under the "Condition" dropdown, select "Contains" (see below) from the available options. We’ve selected "Contains" in this area, as there are often multiple permutations of a single site, i.e. facebook.com, facebook.com/mobile, etc.
The "Value" field is where we’re specifying exactly which social media channels we want to track. Let’s start off with Facebook by entering facebook.com into the "Value" field. Before adding any more social media sources, let’s go ahead and make sure we’re on the right path. Click "Test Segment" in the top right corner. Analytics will then apply the filter, and should provide you with an exact number of visits from the social media domain. To apply more social media filters, rinse and repeat the process above by clicking "Add ‘or’ statement".
To learn more on this subject, read the full article here.