A question that is commonly asked of analysts is “WHERE DID MY TRAFFIC GO?!”  (Yes, even occasionally emailed in all caps).  🙂  Indeed, this is a question that I received from a publisher recently, though they were very polite and didn’t use all caps.  For publishers especially, this question is directly tied to their bottom line as advertising revenue is linked directly to pageviews (CPM models etc).  So, I rolled up my sleeves and got ready to do a bit of analysis to see where their traffic went.

The following is simply a recounting of a bit of my process.  The purpose of this post is to share some of my methods with a target audience of beginner to intermediate level analysts.  This is a “how to” oriented post; nothing particularly new or groundbreaking here.  Just some good old fashioned analysis of a common client question.

spoiler-alert (SPOILER ALERT:  They had a tagging problem, not a traffic problem).

To begin, I was sent an exported report from GA showing how their traffic numbers were down “month over month”.  The report was created by logging into GA, going to the All Traffic report, and hitting the “Compare to: Previous Period” checkbox to compare the default 30 days in GA to the previous 30 days. standard date compare  

The problem with that approach is, like many sites, their traffic patterns differ significantly between weekdays and weekends.  


Takeaway #1:  Always do date comparisons that are divisible by 7 days.  
Adjusting the date range to be a more “apples to apples” comparison, I noticed that the drop in traffic compared to the previous period was around 16% instead of 20%.  Not a major shift, but worth noting and sharing with the client.  

My next step was to ask, “which traffic sources are losing momentum?”  Are they having an SEO problem?  Can I identify shifts in their social media activity?  To begin answering these questions, I went to the Traffic Source > All Traffic report.   medium comparison  

Evaluating the traffic levels by Medium, I immediately noticed that the biggest drops were in Direct Traffic and in Referral Traffic; not an SEO problem.  This indicated to me one of two things:
their issue was most likely with regards to Social Media, as a fair amount direct traffic is “dark social” (see a nice article about direct traffic here) or
b). this is a technical issue (I always have my antenna tuned to look for technical stuff).

Sometimes it is difficult to find “drops” in metrics as they can get buried deep into the data rows since Google Analytics by sorts numbers based upon the current period, not the previous period.  Something I’ve found helpful is to reverse date comparison.  In other words, set the standard date range to be the “previous period” and compare it to the current period.  This can be particularly useful with things like PPC to find major dropoffs in keyword or campaign traffic.

Takeaway #2: Use “reverse” date comparisons

reverse timeline   reverse referrals

Being on the “geek side of things“, what I actually did was to immediately dive into the Direct Traffic drop (which struck me as strangest) and segment that traffic by Device Type.  I used the built-in advanced segment for Direct Traffic and headed over to the Mobile Overview report.
direct traffic advanced segment Takeaway #3: Dive into the “strangest” stuff first when trying to uncover expected behavior.

Yep.  Definitely an issue here.  You may be asking yourself, “why would mobile traffic drop so steeply in comparison to desktop traffic for Direct?”  Doesn’t make any sense, right?  For some odd reason users are simply not accessing the site via their mobile devices  in the same way?

Takeaway #4: If the data really doesn’t make sense, it is probably inaccurate.

To confirm that this was a mobile issue, I went to the Network > Hostname report as I knew that this particular group of sites utilized “m.” subdomains to display their mobile content.

hostname cliff

The next step is to look at the actual gif requests coming from the mobile site.  When debugging mobile, my method is to override my user agent using the developer tools in Chrome.  (In this case, I could have also just entered the m. subdomain into the browser). chrome console

GA debugger

As you can see from the gif request, I discovered that they dropped in the wrong tracking code across a wide number of mobile sites.  This publisher didn’t have a traffic problem at all, it was a tracking problem.

Takeaway #5: Use Google Tag Manager so it is easy to keep track of all of your different tags.