OLE linking includes the same heuristic link tracking. In November 2009, the shortened links of the URL shortening service Bitly were accessed 2. Setting the transport method to 'beacon' lets the hit be sent * using 'navigator.sendBeacon' in browser that support it. */ var trackOutboundLink = function(url) { ga('send', 'event', 'outbound', 'click', url, { 'transport': 'beacon', 'hitCallback': function(){document.location = url;} }); } You'll also need to add (or modify) the onclick attribute to your links. The best part of this shorner is that it allows you to be able to customize the ending of your link with almost any symbol.The end variable - in your example, the “KqzGgBhM5” - is a reference number that is checked against a database.
With a premium account you can track unlimited clicks and we'll keep the data for a full 30 days. Maybe you find an interesting photo or song, or you want to refer people to another article someone else wrote. Well, if you use an URL shortener from Google, you don't run into potential SEO (Search Engine Optimization) problems with your links. If you have used either the UTM tracker or outbound link tracking in the past, then let us know of your experience. A link shortening service is a middleman, serving up a link that sits between your user and the end result. Use short links with Bluetooth Low Energy (BLE) Beacons for asset tracking and proximity marketing.
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. Own Your Short Links on Twitter bit.ly offers URL shortening and link tracking services. It's useful to know whether your user's screens have such capabilities, so you can build your site accordingly. You can also right-click any highlighted section and choose Copy from the drop-down menu. This way they can use shortened URLs but still give people confidence about where the link will lead.
We can also store your Google Analytics ID to track visits to your campaign pages and hosted campaign archive, so you can see traffic to these pages in your Google Analytics account. Resolution: The popularity of high-dpi screens (such as retina displays) is increasing. Shortened links allow you to share long URLs in a Tweet while maintaining the maximum number of characters for your message. Use remarketing links to repeatedly get my brands in front of interested eyeballs.
I think a few of these points are worth following up on. Once implemented, visit your site and click a few outbound links. With support for remarketing, affiliate links from the world's largest stores, campaign tags, and more, Geniuslink is the one-stop shop for your digital marketing links. See how that one event isn’t named correctly, so it shows as undefined?