Undo Undo Shorten URL @ShortenURL 17 Jul 2011 More Statistics for Sunday, July 17, 2011 Thanks. Undo Undo Shorten URL @ShortenURL 11 May 2011 More Statistics for Wednesday, May 11, 2011 Thanks. In some cases, the political or cultural aspects of the country in charge of the top-level domain may become an issue for users and owners,[4] but this is not usually the case. The website is just as basic it was when it launched, but it does the deed. Or maybe you’re using UTM tracking tags that make your link look ugly. 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.
And if I was using Twitter.com to Tweet as I sometimes do, then I wouldn’t use one, I’d just let Twitter shorten it. You could create a complex UTM code structure for a link but then shorten it via Bitly and use the link on a piece of direct mail. Don't use your company name: URL shorteners can also be formed from product names, words common to your industry, slogans or even slang. Also, you can choose the redirect type of your link, depending on whether you plan on changing your destination URL in the future. Click the numbers next to each URL to view the contacts who clicked that link in your campaign. While your link is legitimate, the link shortening service you’re using could cause it to be blocked.
This is achieved by using a redirect which links to the web page that has a long URL. Instead, they create a “tracking link” that will act as a redirect to the actual landing page or website URL. Take the tracker ID of the second tracker and add it to the end, separating it with an underscore. We want tracking to work everywhere so I recommend using a library with robust cross-browser event handling. URL shorteners typically work by redirecting users using a special server response commonly referred to as a "301." This tells the browser that the resource at your short URL has been permenantly moved to the full URL's location.
This will receive an clicked-link events as they bubble up through the DOM. Twitter will use this to make your timeline better. STEP 3: Simple Tag Testing After you’ve saved your new tag, go ahead and select Preview, and then Debug: Then, open up your website to a page you’d like to test.
However, there are many instances where you or your publisher may want to keep track of additional information. If you copy and paste this script exactly as it appears here, your outbound clicks will appear in your Analytics Events reports with a Category of "outbound" and an Action of "click". (In the snippet, these are shown in bold.) You can use these values, or change them and define your own values. In the Settings & Tracking section of the Campaign Builder, check the box next to Google Analytics link tracking. All you have to do is enter your destination URL, and give your tracking link a name. Sign In to Google Tag Manager Create a Account Name the Container for your site Accept the Terms & Conditions Copy & Paste the GTM code block at the start of the
tag on your site Setup the Link Tracker Add a tag to capture all the link clicks Create a macro to save the anchor text Add a tag to fire off the Google Analytics Event Add a rule to capture only the clicks on external links Save a version and publish 1. Automatically route users to the location they're most likely to purchase the products you're promoting while gathering deep insights into your marketing campaigns. In fact, just from YouTube’s 11 characters, it can encode the numbers from one to 73,786,976,294,838,206,464 in base64. When URLs are requested, a web script begins with a template and fills in details by fetching information from a database.