You can still view the analytics with the .info or + trick, but you'll need to remember the short URL.Bitly shortens 600 million links per month,[3] for use in social networking, SMS, and email. If you have a link domain enabled, wait to enable HSTS until after you have uploaded this certificate for your link domain. If your website has WordPress installed in a directory, your options might look like this, where our blog is installed in the “blog” directory: If your website is your WordPress installation, it might look like this: This works best when you choose a page slug that is short and mindful of keywords.
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. The short URL can allow blacklisted URLs to be accessed, bypassing site blocks; this facilitates redirection of a user to blacklisted scam pages or pages containing malware or XSS attacks.
As a result, long URLs must be copied-and-pasted for reliability. A friendly URL may be desired for messaging technologies that limit the number of characters in a message (for example SMS), for reducing the amount of typing required if the reader is copying a URL from a print source, for making it easier for a person to remember, or for the intention of a permalink. Google Analytics won't work if there is a space after the URL in the campaign. You can copy the link by pressing and holding the link and then select copy from the options that will pop out. When the link targets match the filter, the link is tracked.
Link Tracking Limitations The distributed link tracking services are available only on the NTFS file system, and are only available for link sources on NTFS 3. The {redirect} macro is replaced by the offer URL for the click, and the {eredirect} macro is replaced by the URL-encoded offer URL for that click. The search algorithm is based on the last known path of the file and file information that includes the creation date, file size, and file name and extension. For example, if you are passing a sub ID on click, you can append the parameter directly to the end of the encrypted URL: When generating tiny URLs, it may take several minutes for the shortened URL to become active. Go to the homepage of the URL shortening service that you used in the first step.
How Click Tracking Looks in Plain-Text Campaigns To track a click, the original URL has to be replaced with one that points to our servers and redirects to the destination URL. UA code is the unique identifier for each Analytics account you create. In some cases, the server may canonicalize the URL. But if you are one of those folks who wonders just what this all is and how it works, please read on. You publicize this page through twitter, facebook, various banner placement on your website, email newsletter, etc. Then you should get rid of the sidebar ad and focus on the other two placements. You will also see some ads but still reasonable enough and not too annoying. 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. Only bitly provides the feature to generate custom URLs. You should see the activity in the Analytics Real-Time > Events panel. Using a custom domain with your link shortening service is a way to confront the spam and distrust issue.