Log In to Shorten a URL


Ability to Shorten URLs Temporarily Disabled

We are currently experiencing an issue where new short URLs do not redirect to the correct location. We are actively working to fix the problem and hope to have it resolved soon. Until it is resolved, we have temporarily disabled the ability to create new short URLs.

Short URLs created before this problem began on February 6, 2015 should continue to work normally. You can still access metrics for existing short URLs.

We apologize for the inconvenience. Please contact us if you have any questions. Thank you for your patience.

UPDATE 2/9 2pm ET: The problem is fixed. You can now shorten URLs and they should redirect to the correct location. Any URLs created since the problem began should work and click metrics should be recorded.

In the process of fixing this issue, the link to log out of your account stopped not working. The log out link now redirects to an offsite page. We are working to fix this.

No Click Metrics by Date Range After January 1

We're currently experiencing a problem recording click metrics by date range after January 1, 2015. Rest assured that the total number of clicks on your short URL is still being recorded.

You can still explore click metrics by date range before January 1, 2015 by clicking the metrics links for your short URL. If you select a date after January 1, you’ll see an error message at the top of the page.

We are actively working to fix this issue. Please contact us if you have any questions. Thank you for your patience.

1/14 UPDATE: We've fixed the problem and click metrics should be recording and displaying properly. Apologies for the inconvenience.

New Feature: Time Based Metrics

We’re excited to announce that you can now view and export your click metrics by date ranges!

To graph the clicks for a short URL, log in to your account and click the metrics link for that URL. Select a date range and the graph will show the clicks for that time period. You can then download this data by clicking the “Export to CSV” link. metrics by date range graph

The granularity of the click data will automatically change depending on the number of days selected:

  • 1 day - clicks by hour
  • 2 - 31 days - clicks by day
  • 32 - 180 days - clicks by week
  • 181 - 365 - clicks by month
  • 365+ - clicks by year

Clicks are recorded in the Pacific Time Zone, which is where the server is located.

Please let us know if you have questions about this new feature or suggestions for other features.

Why You Can't Delete a Go.USA.gov Link

Go.USA.gov links are permanent by design. They cannot be changed or modified. This is to ensure they always redirect to their assigned URL.

To maintain this permanence, they also cannot be deleted.

If you create a Go.USA.gov link you no longer need or want, just ignore it. You can use the new notes feature to add a note to yourself so you remember which links are in use and which are not.

New Features and Improvements: Search Your URLs, Add Notes, New Bookmarklet, and More!

We’re happy to announce another round of new features and improvements! Please let us know if you see anything that looks unusual or if you have questions.

Log In With Your Username or E-Mail Address

You can now log in to Go.USA.gov with either your username or e-mail address. Previously, you could only log in with your username.

Search Your Short URLs

When you log in to your account, you’ll see a new Search Your URLs tab where you can search for partial or full long URLs that you’ve previously shortened with Go.USA.gov. For example, you can search for just .mil or enter a more specific long URL, such as http://www.usa.gov/Agencies/State- and-Territories.shtml, to find all of your short URLs that point to this destination.

Add Notes to Short URLs

Now you can add notes to each short URL that you create. To add a note, click on the “notes” link under a short URL in your history and then save. You can also access this new feature via the short URL details link.

Shorten URLs from Your Browser with the Bookmarklet

Shorten URLs directly from your browser with our new bookmarklet. To add it to your browser’s bookmark bar, visit your profile by clicking on your username in the top right corner of the screen. There you’ll see a link you can drag to your browser’s bookmark bar. Now visit a website and click the “Go.USA.gov URL Shorten” link in your bookmark bar to shorten the URL for that page.

We know that right now after you shorten a link, you can't select it and copy it. We are working to fix that as soon as we can.

Download Improved CSV Exports

Log into your account to download a CSV file that shows all of your short URLs, their corresponding long URL, the date it was created, number of clicks, and more. We fixed the date field so it shows the full date the URL was created instead of just the month and year.

Use the API to Get All Short URLs

We added a new API method so you can get a list of every URL you’ve ever shortened. See the Export Method in the API documentation for details.

Other Minor Improvements

We made a few other changes, like improving URL validation, adding the ability to shorten URLs from FTP sites or from websites that use a non- standard port number, and upgrading to the latest version of Drupal.

Known Issues

Unfortunately, when implementing these changes, we accidentally removed the URL description that automatically appeared when shortening a new URL. We also know that you can’t copy the short URL from the bookmarklet’s message

We will fix these issues and any others we might find in our next release, which is currently scheduled for March 2014.

Fix in the Works for Missing Page Buttons

We made a code change to fix a defect and the change accidentally removed the next and previous page buttons from your short URL history. Sorry about that! The good news is that a fix should be in place soon.

In the meantime, you can find metrics for old short URLs by using the export to CSV feature.

You can also access the details for any short URL by using this shortcut: https://go.usa.gov/shorturl/link/xxxx. For example, the details for http://go.usa.gov/abdc are now available at https://go.usa.gov/shorturl/link/abcd.

UPDATE 10/31: The next and previous page buttons are back! Again, sorry for the inconvenience. 

Government Shutdown

Due to the government shutdown, information on this website may not be up to date. For information about available government services, visit USA.gov.

We will not respond to e-mails and other messages during the government shutdown.

UPDATE 10/17/13 - We're back and will respond to all messages soon.

Better Performance and Metric Downloads Are Available

We know that Go.USA.gov has been slow. We're sorry.

As the service has grown, it hasn't been able to keep up with the amount of users - now more than 10,000. We’re grateful for your support, and we have some good news to share.

We just finished completely re-engineering the back-end of the site to fix the slow speeds.

Additionally, the back-end improvements have allowed us to re-enable the CSV export function we had to take offline back in 2010. We hoped disabling the CSV export would be temporary, but it took us longer than expected to find a permanent solution to the problem. Again, we’re sorry.

We're also happy to report that these improvements include a frequently requested change: Go.USA.gov metrics will now exclude search engine bot traffic. We can't promise that all bot traffic will be blocked, but we have taken steps to exclude the major search engines. This change only applies to metrics collected after the changes were launched on August 21, 2013. We are not able to retroactively apply it to metrics tallied before the change.

We hope you're enjoying the improved speed and metrics, and we're incredibly grateful to you for sticking with us as we figured it all out. Please let us know if you see anything that looks unusual or if you have questions.

The Go.USA.gov API is Now Available

We’re excited to announce that our API is available! This has been the most requested feature since we launched, and we’re happy it’s finally available.

With the Go.USA.gov API, you can

  • Shorten a URL
  • Preview the destination of a short URL
  • Get the number of clicks on a short URL

The API is available to all registered Go.USA.gov users. If you already have a Go.USA.gov account, you can find your API key by logging in to Go.USA.gov and clicking on your username in the upper-right corner of the screen. Please contact us if you are a government employee, but are unable to register for an account.

To learn more about the API and how to use it, view the documentation.

Please contact us if you have questions or suggestions about the API. We’d love to hear your feedback and learn how you are using the API.

Service Outage: Go.USA.gov Will Be Offline Tuesday, August 21 at 9pm ET

Beginning on Tuesday, August 21 at 9pm ET, you will not be able to access Go.USA.gov to shorten URLs or view metrics. Existing short URLs will not work during the outage. We expect the service will be down for 3-4 hours and apologize for any inconvenience.

This outage will enable us to improve the backend infrastructure for Go.USA.gov, and make it more stable and reliable for you.

Syndicate content