As they say, barriers can boost creativity, so people have learned to be pretty witty with 280 characters, even inventing hashtags to make the whole process easier. These special error resistant links also work great in spoken form (Siri changes links to all upper case). It's useful to know whether your user's screens have such capabilities, so you can build your site accordingly.
Twitter will use this to make your timeline better. You will need to make sure you have the standard google tracking script on your page too.
The more clicks you get on your AdF.ly links, the more money you earn. There are no lines at the door and nobody is frustrated.” — Jeffrey Lesan, CMO, SnowGlobe “We have been using Eventbrite to administer ticketing for the event since 2013. Contents Purposes[edit] There are several reasons to use URL shortening. Why would a fashion magazine's site permit a pet training site to create a link to it? 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.
Macro Name: element url hostname Macro Type: Custom Javascript Custom Javascript: Caveats If you have a Google Analytics Premium account, note that this will increase the # of events for you site. This response will include a status code, a human readable message, and a list of error details. Here at CoSchedule we bought cos.sc as our custom domain, and integrated it with Bit.ly. The customized bit.ly version allows you to use your own domain name for branded short links which can be easily shared on Twitter, Facebook or other social media sites. Twitter will use this to make your timeline better. Twitter may be over capacity or experiencing a momentary hiccup.
THE latest Google ANALYTICS TRACKING CODE If you're not using the latest version of Google Analytics, called Universal Analytics then this isn't going to work for you. You can also view a world map where your last 50 clicks came from. Keep your website safe Running a periodic check on your website's links will ensure that your website remains protected against spam and hackers. Top-level domains of countries such as Libya (.ly), Samoa (.ws), Mongolia (.mn), Malaysia (.my) and Liechtenstein (.li) have been used as well as many others. For consistency, use your URL shortener whenever possible, rather than mixing your own custom domain with other generic ones. However, there are many instances where you or your publisher may want to keep track of additional information. Configure short link HTTP status codes for best SEO results.