Twitter will use this to make your timeline better. Example for event tracking using the newer API:
Undo Undo Shorten URL @ShortenURL 19 Jun 2011 More Statistics for Sunday, June 19, 2011 Thanks. Another simple one, you just paste it in and go. goo.gl/0a0b0c0 Then there are the ones that people hook up to autofeed into their Twitter accounts, and most of those come with their own shorteners.
Along with being user-friendly, it is also easy to integrate bitly with other services like android, iOS and web browsers. It’s also popular so a lot of people recognize that a Bitly link is a shortened link and don’t automatically think it’s spam. These redirect by default to the App Store, where users can download your app. Your web hosting service provider will have a firewall to protect sites from virus and malware. A shorthand link is associated with the registered URL.
However, we don’t want to exclude any href that starts with 2 slashes because those are usually fully qualified absolute URLs that are trying to be protocol relative (typically sites that have both HTTP and HTTPS experiences). An object ID is an optional attribute that uniquely identifies a file or directory on a volume. This can be added to existing JavaScript files or in a script block as long as it’s loaded somewhere within the HTML body (ideally, just before the closing tag). jQuery (or your alternative) must be loaded first although the Google Analytics tracking code can appear anywhere on the page. /* Track outbound links in Google Analytics */ (function($) { "use strict"; // current page host var baseURI = window.location.host; // click event on body $("body").on("click", function(e) { // abandon if link already aborted or analytics is not available if (e.isDefaultPrevented() || typeof ga !== "function") return; // abandon if no active link or link within domain var link = $(e.target).closest("a"); if (link.length != 1 || baseURI == link[0].host) return; // cancel event and record outbound link e.preventDefault(); var href = link[0].href; ga('send', { 'hitType': 'event', 'eventCategory': 'outbound', 'eventAction': 'link', 'eventLabel': href, 'hitCallback': loadPage }); // redirect after one second if recording takes too long setTimeout(loadPage, 1000); // redirect to outbound page function loadPage() { document.location = href; } }); })(jQuery); // pass another library here if required The event is recorded with the category name ‘outbound’, action name ‘link’ and the value set to the URL of the outbound page. The trickiest part of tagging links in an email is coming up with a consistent naming convention for each variable. Effectively making the same web page available under more than one address - both the original (long address) and the Tiny address. You can always register additional domain names on our site. When used this way, all user activity on such elements is calculated and displayed as Events in the Analytics reporting interface. See time spent on attachments Find out exactly how long email recipients are spending on your presentation slides and any other PDF or PPT file you send. It can take up to 36 hours from sending a campaign to see analytics results in the MailChimp campaign report.