Public API tny.im has a public API that allows developers to integrate this service with their websites and applications. This is compatible with most web browsers and platforms as long as your bookmarks or favorites allow javascript. In this example, we want to use several newsletters such as the "jan2018-newsletter" campaign name, which is the ‘c’ parameter in the tracking link. Such scripts avoid many issues with shortening services, keep the domain name as part of the shortened link, and can be made private.
Examples: Netflix at one time used movi.es and BarkBox, which supplies dog treat gift packages, use the URL shortener ruv.me. ClickMeter is used by several thousand of happy affiliates and work with hundreds of affiliate programs.
Then in Google Analytics go to “Content” Then under the "Site Content" drop-down click "All Pages" And search for “pdf” to see all of the PDF's that are tagged in this way. With a custom domain for your link shortener, people will see that you are not spamming and they will be more likely to click on your custom domain shortened link than a generic shortened link. As an example, their tracking system could have a session ID macro that you use to replace "CLICKID", and another macro for a unique user hash that you use to replace "UNIQUEVALUE". If you set Use Google Analytics? to “Yes”, then all links will add special utm parameters that will allow you to identify traffic coming from emails in Google Analytics.
Use an online search tool: One great tool for coming up with good domains for URL shorteners is Domai.nr, which lets you type in a full company name and the site suggests variations of it using numerous alternate extensions and other methods mentioned here and even links you to where you can purchase the domains (this is especially handy for country TLDs). Linkrot[edit] The convenience offered by URL shortening also introduces potential problems, which have led to criticism of the use of these services. Every access requires more requests (at least one more DNS lookup, though it may be cached, and one more HTTP/HTTPS request), thereby increasing latency, the time taken to access the page, and also the risk of failure, since the shortening service may become unavailable. It's one of the most widely used options out there, and you'll often find it integrated with lots of other services as well as third party apps like TweetDeck and TwitterFeed.
Click rate Percentage of total recipients who clicked any tracked link in the campaign. If you're willing to pay, consider Pretty Link Pro or these low cost solutions on Code Canyon. This method can create some clever domains and also have the advantage of using the domain extension itself as part of the word or words you're trying to convey. Get the details/analytics of Short URL //Request Format: var request = gapi.client.urlshortener.url.get({ 'shortUrl': "", 'projection':'FULL' }); //projection can be 'FULL',"ANALYTICS_CLICKS" or "ANALYTICS_TOP_STRINGS" //JSON Response { "kind": "urlshortener#url", "id": "", "longUrl": "", "status": "OK" } Google URL Shortener API PHP Example $longUrl, 'key' => $apiKey); $info = httpsPost($postData); if($info != null) { echo "Short URL is : ".$info->id."n"; } //Short URL Information $shortUrl=""; $params = array('shortUrl' => $shortUrl, 'key' => $apiKey,'projection' => "ANALYTICS_CLICKS"); $info = httpGet($params); if($info != null) { echo "Long URL is : ".$info->longUrl."n"; echo "All time clicks : ".$info->analytics->allTime->shortUrlClicks."n"; } //Get Full Details of the short URL $shortUrl=""; $params = array('shortUrl' => $shortUrl, 'key' => $apiKey,'projection' => "FULL"); $info = httpGet($params); var_dump($info); function httpsPost($postData) { $curlObj = curl_init(); $jsonData = json_encode($postData); curl_setopt($curlObj, CURLOPT_URL, ''); curl_setopt($curlObj, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curlObj, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($curlObj, CURLOPT_HEADER, 0); curl_setopt($curlObj, CURLOPT_HTTPHEADER, array('Content-type:application/json')); curl_setopt($curlObj, CURLOPT_POST, 1); curl_setopt($curlObj, CURLOPT_POSTFIELDS, $jsonData); $response = curl_exec($curlObj); //change the response json string to object $json = json_decode($response); curl_close($curlObj); return $json; } function httpGet($params) { $final_url = '?'.http_build_query($params); $curlObj = curl_init($final_url); curl_setopt($curlObj, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curlObj, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($curlObj, CURLOPT_HEADER, 0); curl_setopt($curlObj, CURLOPT_HTTPHEADER, array('Content-type:application/json')); $response = curl_exec($curlObj); //change the response json string to object $json = json_decode($response); curl_close($curlObj); return $json; } ?Since its modest beginnings in 2002 with the dispatch of the TinyURL service, the URL shortener has developed to end up more than only an advantageous approach to spare characters and trim unattractive web addresses. If you have stored your links in some document, you can copy/paste from there. Every access requires more requests (at least one more DNS lookup, though it may be cached, and one more HTTP/HTTPS request), thereby increasing latency, the time taken to access the page, and also the risk of failure, since the shortening service may become unavailable. Such scripts avoid many issues with shortening services, keep the domain name as part of the shortened link, and can be made private. The great thing is now you can promote your own domain in the tweets. Then you should get rid of the sidebar ad and focus on the other two placements. Your link stats will also be public if you use this service. Some countries place restrictions on who can register domains with its country TLD — though this is becoming less and less common as countries realize the revenue opportunities from selling domains worldwide. Export your data to Excel, text, PDF or XML for paid accounts. The tool is free and can be used whenever you want. Twitter.com: The truth is that the best URL shortener for Twitter is the one that’s built into Twitter. The regEx is a bit more complex than one would expect but it’s addressing a couple of use cases. If it's not available, you'll need to locate a registrar who handles the domain extension in question. You can also put it in your bookmarks instead of the links toolbar. You can always view clicks over a period of 24 hours, a month, and a custom date range.