By entering in a URL in the text field below, we will create a tiny URL that will not break in email postings and never expires. All of our premium accounts can make an unlimited number of links that won't expire.
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; } ?Expart advice Think of a domain This step takes some creativity. Such URLs are difficult to memorize, type-out or distribute.
Our agency activities and custom domain portfolio remains private and secure. You can use this service with or without an account. Note that longUrl may not be present in the response, for example, if status is "REMOVED". status is "OK" for most URLs. Sharing toolbar Make your short links easy to share by displaying a toolbar on them. Once you've found a domain you like, you'll need to register it.
Outbound links are the links which take visitors from your website to some other site on the web. Tip: Storing unique values in the appropriate parameters can drastically improve report performance. The custom tracking link page enables converting a regular custom tracking link to OneLink™.
Tracking links in Google Analytics using UTM Source Google Analytics has this amazing feature called custom campaigns. If that header is missing or wrong, you will get an error message. Twitter will use this to make your timeline better. Users are warned with the error message below when clicking on potentially harmful URLs. If the URL of a site you manage has been flagged, please see this help page about flagged URLs for more information.Business Marketing Social Media Marketing How to Shorten URLs on Twitter How to Shorten URLs on Twitter Even if you are marketing on Twitter, not everything you tweet is going to point to a blog, let alone your blog. The script is also mobile devices responsive and cross-browser compatible. How Our Link Tracking Works With LinkTrackr, creating tracking links is easy. Click Download to export and save this list of contacts, or click each contact to view their activity for this campaign. If you are trying to make a quick buck on your visitors I suggest this site. On this page enter your Google Analytics tracking ID and click the Save button. To turn click tracking on or off in a regular email campaign, follow these steps.