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. Track how many users send a referral by using a “sent invitation” event This also allows you to see how often different user segments invite their friends, which can be an important performance metric. If you are using something else, then please share that in the comments below.Track outbound links Find out when users click a link to leave your site. 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. The distributed link tracking service enables client applications to track link sources that have moved.
If you need assistance with your account, please contact our support team.Track outbound links Find out when users click a link to leave your site. The solution… We’ll attach a click event handler to the body element.
However, Google Analytics can also provide you information about what users do when they come on your website, which banners or links they click the most, what product placements are working better on your website, which social media campaigns are bringing you more traffic, etc. You need to categorize each link in each email so that the information reported is useful. 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. 9 This Dictionary Toolbox allows you to search for a word description within seconds. Before You Start Here are some things to know before you begin this process. The disconnection of the server caused us serious problems, and to be honest, the level and nature of the abuse has become quite demoralizing.
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. See the company's blog to learn more about the changes that are taking place. More » TinyURL.com TinyURL used to be one of the top shortening choice in the past, and people still use it a lot today, however it does include a couple more characters compared to others like Bit.ly and Goo.gl. Twitter will use this to make your timeline better. Once you are set, you can now view cool stats and detailed charts of your links (e.g. unique and non-unique clicks). Fazit Wenn du sorgfältig mit deinen Tracking-Links umgehst und du sie regelmäßig pflegst und erstellst, kannst du bis ins kleinste Detail nachvollziehen warum dein Event ein Erfolg war und was du tun musst, damit es beim nächsten Event auch wieder einer wird.Home Send better email campaigns Subscribe to our email course to learn how to create and send high-performing email campaigns that drive results for your business.
Check Validation: Also optional, but this just makes sure the user “really” clicked on the link. Given the choice between spending time and money to find a different home, or just giving up, the latter won out.[22] Google's url-shortener discussion group has frequently included messages from frustrated users reporting that specific shortened URLs have been disabled after they were reported as spam.[23] A study in May 2012 showed that 61% of URL shorteners had shut down (614 of 1002).[24] The most common cause cited was abuse by spammers. You can perform the following operations on object IDs: Creation Deletion Query When you create an object ID, you establish the identity of the file to the link tracking service. Authenticate your Google Analytics profile or enter UA-Code manually. A real-time dashboard with traffic analytics and referrer data shows how many people shared and clicked your links. bit.ly is a free service. In order to get your domain short enough to be effective as a URL shortener, you may want to consider these tips: Removing vowels: This is an effective way to shortener your organization's name and still making it easy to understand. Tag Type: Select “Link Click Listener” as the tag type. You will need to make sure you have the standard google tracking script on your page too. 3, Apple introduced a pop-up window in Safari prompting users to manually select their redirect to the app store. Track Unique Visitors With a Professional account, we'll analyze your tracking data and tell you which visitors are unique. Use this example as a model for your own links: Check out example.com Analytics Events Was this article helpful?