15 May 2014

Tip of the Week! Tracking Codes

Image credit: Paul K on Flickr
For some time now, I have noticed that when I click on certain links, an extra bit of strange code will be added onto the URL in the address bar. And on other occasions, when I copy and paste text from a web page, a "see more" reference with a web address and more funny code will magically appear.  Does this ever happen to you? Rather than continue to wonder what purposes these cryptic codes could possibly serve, I have finally decided to investigate further! And here is what I have learned.

Basically, these snippets of code are appended for tracking purposes.  They are generated by certain analytics services in order to help organizations get a better idea of how visitors arrive on their web sites and how their content is shared across the web.

Example one:

Here's an example of code added onto the URL for the home page of the Journal of Immigrant and Refugee Studies, published by Taylor & Francis:

http://www.tandfonline.com/loi/wimm20#.U3TlEIG0fHI

Here's another example of similar code, this time appended to the URL for Eldis' Conflict & Security page:

http://www.eldis.org/go/topics/resource-guides/conflict-and-security#.U3TcOoG0fHI

Both are generated by a service called AddThis, which also provides code for the "share" and "follow" buttons that a lot of web sites use. For more information, read about their social analytics offerings; see esp. the introduction to "click tracking" and "address bar sharing."

Example two:

I copied a portion of text from Forced Migration Review's web site recently to use as a part of the blurb describing the theme of their latest issue on Afghanistan.  When I pasted it into my blog post, a "see more" reference was appended, as follows:

FMR 46 contains 21 articles on Afghanistan, plus a mini-feature on Statelessness. - See more at: http://www.fmreview.org/afghanistan/contents#sthash.lAmfxDCc.dpuf

A similar "see more" reference is displayed when you copy and paste from Refugees International's web site. Both sites use the ShareThis widget, which offers a CopyNShare feature for tracking the sharing of content.

Example three:

Google Analytics allows web sites to get more data about where their visitors are coming from by setting up "custom campaigns." Using what are referred to as UTM tags, you can create customized URLs for very specific tracking purposes.  Here is an example from the Brookings Institution, which presumably indicates that the visitor (i.e., me!) came to their web site via an RSS feed:

http://www.brookings.edu/events/2014/05/05-sexual-violence-conflict-displacement?rssid=idp&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+BrookingsRSS%2Fprojects%2Fidp+%28Brookings+Projects+-+Brookings-LSE+Project+on+Internal+Displacement%29

In each of these cases, the extra code does not affect the validity of the root URL.  In other words, you can remove it and the URL will still work.  How do you know what to remove?  Basically, anything from the hashtag on in the first two examples and from the question mark on in the third example. So here is what the root URLs would look like without the appended tracking codes:

- http://www.tandfonline.com/loi/wimm20
- http://www.eldis.org/go/topics/resource-guides/conflict-and-security
- http://www.fmreview.org/afghanistan/contents
- http://www.brookings.edu/events/2014/05/05-sexual-violence-conflict-displacement

Tagged Tips.

No comments: