It’s no secret that I’m not a fan of Target’s new site. We have had quite a bit of attention on that post about Target’s failure of a new site and people from all over the world have read it. There have been a few instances where someone comes to the defense of Target and due to logs and tracking that we use, we have been able to find out that those people were at least partially involved in the project.
Logging Visitors with Loggly.com
A couple days ago, we saw a large number of visits coming through IP addresses we didn’t recognize. Checking the logs and doing an IP lookup tied allowed us to tie those to Target Corporation in Minnesota. Without having Loggly to do some of the analysis automatically, we may not have noticed. Sure, the data is available through Google Analytics too, but how many people dig down to that level?
How We’ve Tied Loggly into WordPress
- Detecting the 404 page being displayed
- Parsing keywords from the referrer if they exist
- The URL of the current page
- The full referrer string
- Height and width of the client’s browser window
- Browser/User agent
Right now there isn’t necessarily anything earth shattering as part of that data, but when you start getting into the shell or running searches, you’ll start to see that there is some pretty good data right at your fingertips.
Looking for a list of all the records for what has been a 404? That’s easy to grab with the following search:
Maybe you want all the records for people who came from Google with Target in the keyword somewhere:
search json.keyword:target AND json.referrer:google
If you are using Thesis, here is the hook to insert the code:
If you are using Genesis, here is the hook you would use:
Here’s an example of what that data looks like once it’s dumped into Loggly’s system:
Realtime Traffic Monitoring
One thing we really like at AuthorityLabs is a good graph. Loggly has some cool graphing built in that lets you visualize the data being added to their system. Taking the data that Target Corporation was nice enough to give us for this test, we were able to graph their activity over the course of a day.
We were also able to graph and compare the number of visits coming from Target with overall visits to the part of our site running WordPress.
The possibilities for logging, storing, and graphing data with Loggly seem to be endless. This initial test was pretty much focused around Target once we noticed the traffic coming from their headquarters. I doubt they were here to do anything malicious. Hopefully someone over there learned a few things and got some good insights from my earlier post about their new site.
This will likely be the first in a series of posts about how we’re using Loggly and the cool insights that we’re able to gather as a result. Keep checking back and we promise to fill your head with some ideas.
Last, but not least, if you’re going to spy on us, don’t leave your webcam on and allow us to get some pics of your work space. Apparently one of the guys over at Target’s headquarters in Minnesota left his on and this is what we caught –
(Kidding, of course. Big thanks to Jeremie at Big Red Ape for cranking out that funny illustration for us.)