It's only one of the most popular social media management tools currently out there! 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.
Instead, they create a “tracking link” that will act as a redirect to the actual landing page or website URL. The distributed link tracking service also attempts to maintain links in the preceding situations even when they do not occur within a domain, that is, they are cross domain or within a workgroup. Alternate and Custom Domains Do you love our service, but hate our domain name? Here are 5 URL Shorteners that I actively use: Bitly: This website allows you to create an unlimited amount of bitlinks, which come with analytics and tracking. Just get everything in a bit. Now, it’s trending to see people add and sharing links on Twitter as much as possible. While URL shorteners have had some incredible usage tied to the growth (and constraints) of Twitter, I question their sustainability as a business.
Tracker URLs Tracker URL refers to the entire link, complete with domain and query string. Here are some guidelines: Campaign Name This field should contain some of the most specific information about what kind of email this is. You can shorten a link right away, although you’ll need to enter a CAPTCHA code. HootSuite also allows you to view a dashboard that tracks clicks for each shortened link shared in the management system.
Users can create these short links through the web interface at goo.gl, or they can programatically create them through the URL Shortener API. Reset Your Tracking Data Premium account holders can reset tracking data to zero at any time.
An auth token is necessary in order to look up a user's history. Undo Undo URL Shortener @URL_Shorteners_ 28 Dec 2012 More Thanks. Use custom domain URL shortening to gain a higher level of indexing on Google. Another reference to URL shortening was in 2001.[8] The first notable URL shortening service, TinyURL, was launched in 2002. With a custom domain for your link shortener, people will see that you are not spamming and they will be more likely to click on your custom domain shortened link than a generic shortened link. Users can create these short links through the web interface at goo.gl, or they can programatically create them through the URL Shortener API. You should not put information in this field that you have in other fields. Total clicks Total number of times any tracked link was clicked. Dead simple to manage multiple custom domains and multiple clients from a single account Consistent branding impression. Answers blocks postings that contain TinyURLs,[citation needed] and Wikipedia does not accept links by any URL shortening services in its articles. Then you should get rid of the sidebar ad and focus on the other two placements.