You can also share files, images and videos easily with Ow.ly in all sorts of different formats. URLs encoded in two-dimensional barcodes such as QR code are often shortened by a URL shortener in order to reduce the printed area of the code, or allow printing at lower density in order to improve scanning reliability. How often do you get that kind of data from printed marketing? Configure short link HTTP status codes for best SEO results. The benefit to Buffer is being able to keep your feed populated even when you’re too busy to post. buff.ly/0a0b0c0 Hootsuite: For the professional user, there’s Hootsuite.
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. DyingLinks gives you control over how long you want your shortened link to be available, along with some other control and privacy features. Example for event tracking using the newer API:
The Google Analytics account has to be set up and configured before the tracked campaign is sent. Understanding which external links are most often clicked on your website will help you understand what kind of information users are looking for. But if all the links to you use a shorter version, that sort of defeats the point!
In this article: Using Google Tag Manager If you use Google Tag Manager to manage your Analytics tracking, follow the instructions in Analytics Events to implement events. UA code is the unique identifier for each Analytics account you create. Boom, ka-bang, you can now see your PDF's Pageviews, Unique Pageviews, Avg. Facebook automatically detects the link and parses the page description and an image from the original page.
But, as Matt Cutts says in this video, the page rank and anchor text will flow through the shortened link and that there shouldn’t be any harm in using them…as long as the URL shortener is using a 301 redirect. Their story had a happy ending in that someone came in and saved them, but it was hard not to think of what would have happened if all their links stopped redirecting one day: part of the web would go dark. First thing you need to do is install and activate the Google Analytics for WordPress plugin. There is no option to customize your shortened URL. But like I said, on Twitter, the Twitter folks have already figured out the whole URL shortening thing. It allows for custom domains so you can brand your shortened link. Instead of redirecting, an iframe loads a page within another webpage. Initially Twitter automatically translated URLs longer than twenty-six characters using TinyURL, although it began using bit.ly instead in 2009[10] and later developed its own URL shortening service, t.co.