To view the outgoing links, go to your Google Analytics account. For example, if you want to know how many people click on the website link in your Twitter profile, lots of people use a bit.ly link instead of the direct link to their website. You can also share files, images and videos easily with Ow.ly in all sorts of different formats.
You can also create a tracking domain to “gather metrics for all users that are shortening links to your site”. Bit.ly, which is what we integrate with in CoSchedule, uses a 301 redirect. Before we go any further, you must upgrade to Universal Analytics.
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. Before going to the tutorial check the working example: Working URL Shortener website: Below is the example of Google URL Shortener API with JavaScript.
URL:If it's not available, you'll need to locate a registrar who handles the domain extension in question. This example assumes that you are using the analytics.js tracking code. Twitter will use this to make your timeline better.
It lives outside their known universe of pages and links. Things to note When we were setting this up we came across a few other things that might save you time when doing the same. This solution doesn't work where the user starts on Eventbrite and then goes to your website. If you choose to edit the default title, make sure you don't include any special characters. We’ll use the GA Event tracking feature to capture all the information.