The Basics Behind URL Shortening The simplest way to describe URL shortening might be to describe how some of the existing URL shortening sites work. I once went bonkers when I couldn’t get a link click tag to work… and it all came down to a lowercase typo. Personally, I use Hootsuite for all of my Twitter’ing so I don’t have the need to go out and shorten it separately.
Networks and publishers frequently use one or both of these to track the performance of campaigns, websites, or banners in their reports. 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.
You can create custom tracking links offline and use them directly without visiting the AppsFlyer's dashboard. Looking for a new SEO or marketing partner to grow your business? Similar Tools: Google Analytics and Clicky Clicky - A Great Alternative To Google Analytics Clicky - A Great Alternative To Google Analytics Read More .Autotrack Autotrack is a JavaScript library built on top of analytics.js that makes it easier for web developers to track the user interactions that are common to most websites. Facebook has this new colored status background feature that works when your status is short and straight to the point. Once this is on your toolbar, you'll be able to make a TinyURL at the click of a button.
You can also share files, images and videos easily with Ow.ly in all sorts of different formats. All you have to do is enter your destination URL, and give your tracking link a name. Get all the handy power of a link in a much smaller package, right? Here are some guidelines: Campaign Name This field should contain some of the most specific information about what kind of email this is.
Maybe you have the ad for your book in your sidebar, in your footer bar, and after your post content. Acquiring and using an API key Requests to the Google URL Shortener API for public data must be accompanied by an identifier, which can be an API key or an access token. Simply enter your long URL and click the Shorten button. Vanity Links You can make custom vanity links with any premium account. Twitter may be over capacity or experiencing a momentary hiccup. Undo Undo Shorten URL @ShortenURL 12 Jun 2011 More Statistics for Sunday, June 12, 2011 Thanks. Sign up for a demo Free Event Resources Need marketing tips? First thing you need to do is install and activate the Google Analytics for WordPress plugin. If you‘re never visited Bitly.com, you might be surprised about what you can do in addition to shortening URLs. Do E-Commerce and Analytics360 data figures not match on your campaign report? Due to the differences in Google Analytics and MailChimp tracking, it's normal for Analytics360 and E-Commerce revenue figures to vary.