In the meantime, here’s the basic breakdown of how a link click event tag works: Tag Name: Give the tag a name that makes sense to you. Its popularity influenced the creation of at least 100 similar websites,[9] although most are simply domain alternatives. Without taking this step, visits from emails will be recorded inconsistently.
If the shorthand link is found to be associated with a URL, the URL is fetched, otherwise an error message is returned.[7] The patent was filed in September 2000; while the patent was issued in 2005, US patent applications are made public within 18 months of filing. Add retargeting pixels in short links to track interest in specific products and maximize advertisement ROI. We sometimes experience products selling out suddenly in the middle of a large campaign.
Many URL-shortener services offer the option to track how many clicks each link gets. The group link will then open the web pages in order with a control bar at the top of the browser. Google Analytics does not track outbound links by default.
ClickMeter is a super-easy to use web-based professional tool. This example assumes that you are using the analytics.js tracking code. 0 scope information for the Google URL Shortener API: To request access using OAuth 2.
Another reference to URL shortening was in 2001.[8] The first notable URL shortening service, TinyURL, was launched in 2002. 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. Automatically Deactivate Your Links With a Professional account, you can set your links to automatically deactivate after a certain number of clicks. Build trust & increase click rate: people tend to click on the links that they trust rather than unknown URLs (ie. bit.ly/buSzh might be a spam link). Tracking Links to your PDF Using Open Site Explorer you can take the full URL of your PDF and drop it directly into the search bar and click search. The nice thing about it is that it’s a short link, about 70% smaller than the permalink for this post. WordPress links have the structure they do, which is longer, because they’re meant to be permanent and portable. (And of course friendly to search engines.) Even if you weren’t using WordPress, the links contain no arbitrary IDs or other platform-specific implementation cruft so they should be trivial to serve from any system, even if you don’t use WordPress in the future. To use custom campaigns, you add UTM parameters to your URL which are then recorded in your custom analytics report. Element URL contains mailto: This is where the firing rules are truly specific to tracking clicks on email addresses. If you find someone who says he or she loves social media but doesn’t have a twitter account, then that person just likes social media.