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. This will receive an clicked-link events as they bubble up through the DOM. If it contains any query strings such as ? & = then it is a dynamic URL. eg: 357&sort=date (Note also that blank spaces are never allowed in a web address).
Free users can choose between “go.clickmeter.com“ or “9nl.com“ as a domain name for their tracking link, while pro users can choose their own domain name. But that's where the myth of having links regardless of where they came from to a website ended. Write down this value and the combination title or description it goes with so you can reference it when you view your data in Google Analytics later. Your link stats will also be public if you use this service. It should give some feel for the content of the email. You can now return to the URL shortening service’s homepage at any time to view click stats for the link you posted to your Facebook wall.
Before we go any further, you must upgrade to Universal Analytics. Please note: anyone with a t.co shortened link will be able to navigate to the destination URL. But I find this to be in the common order of usage for my own needs. The distributed link tracking service also attempts to maintain links in the preceding situations even when they do not occur within a domain, that is, they are cross domain or within a workgroup.
Link shortening hides the final destination, so of course spammers have latched onto link shortening like a leech. More » Is.gd Is.gd provides one of the simplest URL shortening experiences by giving you nothing more than a field to input your long link so you can instantly transform into a shorter one. I could probably go on and on with a dozen more URL shorteners, but lets be honest, you only need one. You'll also get detailed statistics for every link when you sign up for an account, and you're paid via PayPal for payouts as low as $5. More » Bit.do Bit.do is another great alternative that's both simple and powerful. These parameters are also stored by HasOffers and can be passed in affiliate conversion links via HasOffers macros.
Some URL shorteners offer a time-limited service, which will expire after a specified period. Go to my.sailthru.com/pages and click a link to a hosted page. Twitter will use this to make your timeline better. Tinyarro.ws, and qoiob.com use Unicode characters to achieve the shortest URLs possible, since more condensed URLs are possible with a given number of characters compared to those using a standard Latin alphabet.[citation needed] Services may record inbound statistics, which may be viewed publicly by others.[5] Expiry and time-limited services[edit] Many providers of shortened URLs claim that they will "never expire" (there is always the implied small print: so long as we do not decide to discontinue this service—there is no contract to be breached by a free service, regardless of "promises"—and remain in business). Maybe, the footer bar and the after post banner is working the best, but your sidebar ad is not. TweetDeck and Seesmic (TweetDeck’s direct competitor) both offer numerous URL-shortener options (bit.ly, is.gd, TinyURL, and twURL), but only bit.ly offers click tracking. They both built with the same engine so there is no difference between them in terms of features an capabilities. In your WordPress dashboard in Settings > Permalinks you can choose which format you’d like your permalinks to be. And as with YouTube, if that limit was hit, they just have to add another number, which raises the limit to 1,152,921,504,606,846,976.