This service is provided without warranty of any kind.Below are some frequently asked questions about t.co, Twitter's link-shortening service. Once implemented, visit your site and click a few outbound links. 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. Some link shorteners end up on domain block lists because of heavy spammer use. Twitter may be over capacity or experiencing a momentary hiccup.
Privacy and security[edit] A short URL obscures the target address and can be used to redirect to an unexpected site. Once the call is complete, it can run a callback function so we can redirect to the outbound page. Tip Don’t clear the cookies from your browser between posting the shortened link and visiting the URL shortening service to view statistics.
2) Search engines automatically find links when they exist on public pages. The last condition is to make sure that we don’t include any absolute URLs that belong to the domain we’re on. Twitter will use this to make your timeline better. Generate Tracking Link: Copy the link and use it in your newsletter e-mail. Tip You don't need to use this page every time you need to create a custom tracking link.
Also, a custom domain might improve the amount of clicks your link receives. According to RadiumOne, URL shorteners that offer vanity domains can increase sharing up to 25 percent. Last clicked The most recent date and time someone clicked a tracked link in your campaign. A link converted by Twitter’s link service is checked against a list of potentially dangerous sites. So in the next few pages, you will learn how to shorten links for Twitter. To shorten links for Twitter, you don’t need to do too much techy stuff.
You can also find out how many clicks your particular bit.ly link got compared to the total clicks on the long link. The following example code represents the default download tracking configuration: s.trackDownloadLinks= true; s.linkDownloadFileTypes= 'exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls'; Use the following procedure to enable download tracking for your Adobe Analytics framework: Open the SiteCatalyst framework and expand the Link Tracking Configuration section. That’s what tells the systems at Instagram and YouTube which photo you require, and it does it in 11 characters to make it as short as possible. Other link tracker software use only cookies, which severely limits what you can track and how you track. The service includes all the custom bit.ly features plus real-time information about the page you are “shrinking.” You can also track clicks to the page and how many times that page was shared and by how many people. Using it for spamming or illegal purposes is forbidden and any such use will result in the TinyURL being disabled and you may be reported to all ISPs involved and to the proper governmental agencies. In this article we’ll discover how to add outbound link tracking. Don't use your company name: URL shorteners can also be formed from product names, words common to your industry, slogans or even slang. You can use initials for one or more words or, if it works, all of them. The network shares on the link source computer are changed. I'm sure there are also better ways this can be done, so if you have your own way of doing it please leave me some comments below!Link tracking is what seperates the men from the boys in online advertising. Another consideration is that some countries also restrict what content can be used their TLDs, so if you intend in shortening content that might be in violation of these laws, you'll need to find another TLD.