Before we answer that question, lets first talk about why would you want to track links in Google Analytics? Dead simple to manage multiple custom domains and multiple clients from a single account Consistent branding impression. Google won’t be offering classic Google Analytics in the near future. URL shorteners typically work by redirecting users using a special server response commonly referred to as a "301." This tells the browser that the resource at your short URL has been permenantly moved to the full URL's location. If you are unsure whether or not your app is multi-platform, then it probably isn’t.
Twitter will use this to make your timeline better. 1 billion times.[1] Other uses of URL shortening are to "beautify" a link, track clicks, or disguise the underlying address. Add retargeting pixels in short links to track interest in specific products and maximize advertisement ROI.
Then reconnect with the same interested audience when my sequel is ready to be released. That redirect through our server is logged in your campaign report as a click.
A good structure accommodates future changes or alterations. 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. The links toolbar may not be visible in all setups and in most browsers, you can enable it in the View->Toolbars menu of your web browser.
Links to Sailthru Hosted Pages are not tracked and are not included in reporting. This code defines the tracking action and delays loading of the outbound link by 100 milliseconds so that Google Analytics can track the click: Insert this code in addition to the standard Google Analytics tracking code for the page. Edit short URLs or QR codes to fix broken pages any time I need it. You can create custom tracking links offline and use them directly without visiting the AppsFlyer's dashboard. And though it is unlikely that Bit.ly will be shut down, they are still a middleman. Label: {{element url}} – Also a macro, this Element URL macro records the specific link that was clicked on. This example assumes that you are using the analytics.js tracking code. In the example above we have created a link to be shared on Twitter, as a tweet. utm_source parameter identifies the source of traffic this could be a site, a social media network, newsletter, app, etc. The service imports all of your short URLs and stores them and will also take over your URL shortening domain if you decide to close it, ensuring links posted throughout the Internet continue to work.Use branded short links to build customer trust and increases conversions. TinyURL tries to disable spam-related links from redirecting.[30] ZoneAlarm, however, has warned its users: "TinyURL may be unsafe. For instance, the analytics to the URL goo.gl/626U3, which points to lifewire.com/web-and-search-4102742, can be seen at goo.gl/626U3.info. As mentioned in the best practice section, it may make sense to leave a middle-rank parameter empty so you can use it in the future.