Be sure that you spell gtm.linkClick exactly as it looks: this field is case sensitive. The service includes all the custom bit.ly features plus real-time information about the page you are “shrinking.” You can also track clicks to the page and how many times that page was shared and by how many people. Their story had a happy ending in that someone came in and saved them, but it was hard not to think of what would have happened if all their links stopped redirecting one day: part of the web would go dark.
Browse our list for inspiration: You'll likely get some great ideas just look at what others have done! Technology[edit] The company uses HTTP 301 redirects for its links. When you are editing or previewing a post, the number in the URL (on the adddress bar) is the post ID.Making use of a good URL shortener to minimize the number of characters in a link is the way to go on the web these days, especially if you want to keep all your online friends and followers happy. Twitter will use this to make your timeline better. Last clicked The most recent date and time someone clicked a tracked link in your campaign. Add them with a slash before the URL in your address bar, and you're good to go.
Your link stats will also be public if you use this service. Google Analytics does not track outbound links by default.
Is there more than one type of Google Analytics tracking on your links? If you combine MailChimp's Google Analytics tracking with custom UTM tracking, this could skew results in reports. How often do you get that kind of data from printed marketing? We’ll use the GA Event tracking feature to capture all the information. Then when the page loads, it can load the Javascript and track the information in Google Analytics as expected. The website is just as basic it was when it launched, but it does the deed.
On this page enter your Google Analytics tracking ID and click the Save button. 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. 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. Configure short link HTTP status codes for best SEO results. We will show you how you can enable automatic tracking of all outbound links in Google Analytics with WordPress. If the URL fails to redirect (for example, if Google believes it points to malware), you'll get a machine-readable explanation of why. 2) Indirectly - find and click-on links from Google (or other search engine) results. Some offer features that go beyond a basic link shortener. Once this is done, upload the files to your short URL hosting. You should then be able to navigate to . In addition to using bit.ly as a tool integrated into third-party tools you can also use it directly at the bit.ly website.