Setting the transport method to 'beacon' lets the hit be sent * using 'navigator.sendBeacon' in browser that support it. */ var trackOutboundLink = function(url) { ga('send', 'event', 'outbound', 'click', url, { 'transport': 'beacon', 'hitCallback': function(){document.location = url;} }); } You'll also need to add (or modify) the onclick attribute to your links. You’ll play a “prove you’re human” game before your shortened link is produced. Search four levels down from the root on each local fixed drive. You can read more about this in our guide to deeplinking.
For example: - campaign-level tracker {publisher_id} - campaign-level tracker with creative, but not adgroup data In this case, your data will be assigned to the campaign and tracker with an unknown adgroup. Creating the External Link Tracker The last step is to send the link click event, along with the anchor text and URL, to Google Universal Analytics. If you are using the newer Universal tracking please refer to the docs. In addition to easy link shortening, you can use the service with your own domain, customize the characters at the end of your links, get real-time statistics and even see which countries your clicks are coming from. Link Tracking when Forcing HTTPS with HSTS If your company is considering implementing HTTP Strict Transport Security (HSTS) for your site to ensure visitors may only connect using the more-secure HTTPS, there can be implications for your users’ experience with Sailthru-tracked links if you enable HSTS for all subdomains via the optional includeSubDomains directive. Many sites that accept user-submitted content block links, however, to certain domains in order to cut down on spam, and for this reason, known URL redirection services are often themselves added to spam blacklists.
If it’s an outbound link, we’ll cancel the click event and initiate Analytics event tracking. This automatic behavior provides the best possible experience to your app users who open goo.gl links, no matter what platform or device they are on.
Click the “Details” link beside the shortened URL in Goo.gl to view basic click statistics, including the number of people who clicked the link on your Facebook wall. You can attach deep links onto your tracker URL to have Adjust test if the app is still installed, and forward users conditionally to the app. Capturing Only External Link Clicks The firing rules is where all the magic happens. This is something you’ll often hear from link shortener detractors. Whatever URL shortening service you use, you should probably read through their help to determine whether they also make their links permanent.
And though it is unlikely that Bit.ly will be shut down, they are still a middleman. I like Bitly because it has a pretty interface and a login for all of the links you create. In this case you can use Google’s Disavow Link tool in Google Webmaster Tools to let Google know that you don’t approve of that link. Link shortening service vb.ly was shut down back in 2010 by Libya, which leads to the problematic fact of link shortening: you depend upon a third-party service to deliver visitors through your shortened links. If you are using the newer Universal tracking please refer to the docs. Click tracking in Sailthru is done through your link subdomain. It’s a free platform for scheduling and managing Tweets, like Tweetdeck. Twitter will use this to make your timeline better.