Before we answer that question, lets first talk about why would you want to track links in Google Analytics? The permalinks you use in WordPress can be ideally created to be as short as possible. To enable outbound link tracking, you need to add a little javascript to your website, and add a little code with each outgoing link that you want to track. White labeling lets me present a positive picture of our company as clients see our agency logo when they login to create URLs. 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. Users are warned with the error message below when clicking on potentially harmful URLs. If the URL of a site you manage has been flagged, please see this help page about flagged URLs for more information.Making use of a good URL shortener to minimize the number of characters in a link is the way to go on the web these days, especially if you want to keep all your online friends and followers happy.
Link Tracking information is displayed on the Edit Item page of any link it is enabled for. Insert t/ on the short URL, like this: Shorten on-the-go We have an app for Firefox OS, and apps for more platforms are coming soon. Twitter will use this to make your timeline better. Copying an address (URL) using a keyboard and mouse Highlight the address by moving your mouse cursor over the address bar and clicking the left mouse button once or press the F6 keyboard shortcut to get into the address bar. This count includes multiple clicks from individual recipients. Undo Undo Shorten URL @ShortenURL 5 Jun 2011 More Statistics for Sunday, June 5, 2011 Thanks.
Check out our review of this fantastic tool to see how it works. Clicks per unique opens Percentage of recipients who opened your campaign and then clicked a link. Tracking Link Clicks with Event Tracking vs Virtual Pageviews You are also able to use virtual pageviews to track link clicks however, this technique may cause problems elsewhere. If you want a more granular approach too, use the "Just-Discovered" tab to see brand new links that are pointing to your PDF. Not all redirection is treated equally; the redirection instruction sent to a browser can contain in its header the HTTP status 301 (permanent redirect), 302, or 307 (temporary redirect).
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. 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. 3, Apple introduced a pop-up window in Safari prompting users to manually select their redirect to the app store. Unless you want to track URLs, you have no need to run to an outside website in order to make your URLs smaller, Twitter only counts links for a certain number of characters now. We wanted to see: A) How many page views the PDFs were getting B) How long people were staying on these PDFs C) How prone they were to bouncing (just in case we needed to redesign them) D) The links we were getting to the PDFs E) Where those links were coming from The solution was pretty simple.
This method can create some clever domains and also have the advantage of using the domain extension itself as part of the word or words you're trying to convey. You can also hide existing URLs from your dashboard. Creating large sets of extremely small segments will not result in useful data for your analysis. Use alternate extensions "hacks": Many country code extensions can be used to help form your company name by using the characters before and after the dot to form a shortened for similar sounding version of your name. But we’re then moving away from on-site Analytics into more dubious territory; Google wouldn’t necessarily want to share that data. Undo Undo Shorten URL @ShortenURL 10 Jul 2011 More Statistics for Sunday, July 10, 2011 Thanks. Wait for Tags: If you want, you can delay the opening of a link until the tag has fired. Twitter will use this to make your timeline better. The Apple App Site Association File is not required. For example, Google Analytics makes it optional to include taxes with purchase amounts, and tracks conversions with sessions that end after a period of inactivity. The feedback you provide will help us show you more relevant content in the future. Enter the post/update you want to share in the required field. It not only helps you learn about your visitors and popular content, but you can also use it to develop strategies to further optimize your WordPress blog.